features/help.feature in usaidwat-1.3.0 vs features/help.feature in usaidwat-1.4.0
- old
+ new
@@ -5,28 +5,31 @@
In order to learn how to use it
Scenario: Pass no arguments
Given the Reddit service returns comments for the user "mipadi"
When I run `usaidwat`
- Then it should pass with:
+ Then the exit status should be 0
+ And stdout should contain:
"""
Usage:
usaidwat <command> [options] <args>
"""
Scenario: List usage details
When I run `usaidwat --help`
- Then it should pass with:
+ Then the exit status should be 0
+ And stdout should contain:
"""
Usage:
usaidwat <command> [options] <args>
"""
Scenario: Get version
When I run `usaidwat --version`
Then the exit status should be 0
+ And stderr should not contain anything
And the output should match:
"""
usaidwat [0-9]+\.[0-9]+\.[0-9]+
"""