features/help.feature in reponaut-1.0.0 vs features/help.feature in reponaut-1.0.1
- old
+ new
@@ -38,10 +38,25 @@
reponaut, version
"""
Scenario: Specify an invalid option
When I run `reponaut -b`
- Then it should fail with:
+ Then the exit status should not be 0
+ And the stderr should contain:
"""
unknown option `-b'
Run `reponaut --help` for help information
+ """
+
+ Scenario: Specify no options
+ When I run `reponaut`
+ Then the exit status should not be 0
+ And the stderr should contain:
+ """
+ Usage: reponaut [OPTIONS] USERNAME
+
+ Options:
+ -s, --sort Sort by repo count
+ -f, --ignore-forks Ignore forked repos
+ -h, --help
+ --version
"""