Flow Style
- A YAML file I use for testing my App::Spec commandline tool:
---- args: - mysimpleapp - -h stdout: - regex: 'Usage: mysimpleapp \[options\]' exit: 0- args: - myapp - cook - tea - --sugar - -vv - --verbose stdout: - regex: 'Options: sugar=1,verbose=3' - regex: 'Parameters: drink=tea' - regex: 'Subcommands: cook' exit: 0
---- args: [ mysimpleapp, -h ] stdout: - regex: 'Usage: mysimpleapp \[options\]' exit: 0- args: [ myapp, cook, tea, --sugar, -vv, --verbose ] stdout: - regex: 'Options: sugar=1,verbose=3' - regex: 'Parameters: drink=tea' - regex: 'Subcommands: cook' exit: 0