uh-wm/features/cli/usage.feature
Thibault Jouan 5a102e7739 Improve CLI usage cucumber feature
Change a step definition to communicate intent more clearly.
2015-04-18 17:19:15 +00:00

12 lines
400 B
Gherkin

Feature: CLI usage
Scenario: prints the usage when unknown option switch is given
When I run uhwm with option --unknown-option
Then the exit status must be 64
And the output must contain exactly the usage
Scenario: prints the help when -h option is given
When I run uhwm with option -h
Then uhwm must terminate successfully
And the output must contain exactly the usage