Skip to content

Commit

Permalink
Updated the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ashique Saidalavi <[email protected]>
  • Loading branch information
ashiqueps committed Nov 27, 2024
1 parent c707a77 commit 02e30f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions features/kitchen_test_command.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Feature: Running a full test instance test
@spawn
Scenario: Running a single instance
When I run `kitchen test client-beans`
Then the output should contain "Starting Test Kitchen"
Then the output should contain "Starting Chef Test Kitchen Enterprise"
Then the output should contain "Cleaning up any prior instances of <client-beans>"
Then the output should contain "Testing <client-beans>"
Then the output should contain "Finished testing <client-beans>"
Then the output should contain "Test Kitchen is finished."
Then the output should contain "Chef Test Kitchen Enterprise is finished."
And the exit status should be 0

@spawn
Expand Down Expand Up @@ -74,12 +74,12 @@ Feature: Running a full test instance test
@spawn
Scenario: Running all instances
When I run `kitchen test`
Then the output should contain "Starting Test Kitchen"
Then the output should contain "Starting Chef Test Kitchen Enterprise"
Then the output should contain "Finished testing <client-cool>"
Then the output should contain "Finished testing <client-beans>"
Then the output should contain "Finished testing <server-cool>"
Then the output should contain "Finished testing <server-beans>"
Then the output should contain "Test Kitchen is finished."
Then the output should contain "Chef Test Kitchen Enterprise is finished."
And the exit status should be 0
When I successfully run `kitchen list`
Then the output should match /^client-cool\s+.+\s+\<Not Created\>\s+\<None\>$/
Expand Down

0 comments on commit 02e30f6

Please sign in to comment.