* 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.
11 lines
252 B
Gherkin
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
|
|
"""
|