-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parameterize shellspec tests to run against all vendors/models and ma…
…ke (#70) maintainability easier. This relies on two shellspec features: 1. (Parameters)[https://github.com/shellspec/shellspec?tab=readme-ov-file#parameters---parameterized-example], where you can define several params and it will execute the same tests against them 2. (Data)[https://github.com/shellspec/shellspec?tab=readme-ov-file#data---pass-data-as-stdin-to-evaluation], which passes parameters in as STDIN, which is a vital feature of gru Within the tests, I set parameters for each container running in the simulator. In some tests, I add additional ones where the output of commands vary depending upon the endpoint being targeted. There are some commented out tests, which require an updated in the emulator: Cray-HPE/csm-redfish-interface-emulator#10 Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
- Loading branch information
1 parent
4c6527e
commit 9f0afdd
Showing
9 changed files
with
480 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.