Skip to content

Commit

Permalink
#389 - also update cucumber scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
dabdine committed Dec 5, 2021
1 parent 7f9a7f8 commit d390f99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions features/verify.feature
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Verify
When I run `recog_verify tests_with_warnings.xml`
Then it should fail with:
"""
tests_with_warnings.xml: WARN: 'Pure-FTPd' has no test cases
tests_with_warnings.xml: WARN: 'Pure-FTPd' is missing an example that checks for parameter 'pureftpd.config' which is derived from a capture group
tests_with_warnings.xml: WARN (line 10): 'Pure-FTPd' has no test cases
tests_with_warnings.xml: WARN (line 10): 'Pure-FTPd' is missing an example that checks for parameter 'pureftpd.config' which is derived from a capture group
tests_with_warnings.xml: SUMMARY: Test completed with 1 successful, 2 warnings, and 0 failures
"""
And the exit status should be 2
Expand All @@ -39,10 +39,10 @@ Feature: Verify
When I run `recog_verify tests_with_failures.xml`
Then it should fail with:
"""
tests_with_failures.xml: FAIL: 'foo test' failed to match "bar" with (?-mix:^foo$)'
tests_with_failures.xml: FAIL: '' failed to match "This almost matches" with (?-mix:^This matches$)'
tests_with_failures.xml: FAIL: 'bar test's os.name is a non-zero pos but specifies a value of 'Bar'
tests_with_failures.xml: FAIL: 'bar test' failed to find expected capture group os.version '5.0'. Result was 1.0
tests_with_failures.xml: FAIL (line 3): 'foo test' failed to match "bar" with (?-mix:^foo$)'
tests_with_failures.xml: FAIL (line 8): '' failed to match "This almost matches" with (?-mix:^This matches$)'
tests_with_failures.xml: FAIL (line 13): 'bar test's os.name is a non-zero pos but specifies a value of 'Bar'
tests_with_failures.xml: FAIL (line 13): 'bar test' failed to find expected capture group os.version '5.0'. Result was 1.0
tests_with_failures.xml: SUMMARY: Test completed with 0 successful, 0 warnings, and 4 failures
"""
And the exit status should be 4

0 comments on commit d390f99

Please sign in to comment.