producer-core/features/cli_usage.feature
Thibault Jouan 18b835b10e Improve test suite performance with aruba wrapper:
* Implement ArubaProgramWrapper in cucumber env;
* Tag a few features to not use the wrapper as aruba doesn't support yet
  interactive testing with in process mode, and reported program name
  will not be the correct one;
* Assign required standard streams to CLI and Env classes.
2014-05-30 23:14:00 +00:00

11 lines
252 B
Gherkin

Feature: CLI usage
@exec
Scenario: prints the usage when an argument is missing
When I run `producer`
Then the exit status must be 64
And the output must contain exactly:
"""
Usage: producer [-v] [-n] recipe_file
"""