Sha256: 7b7a3ec61e29d92abb779f00b1a983c8faa927eca6b3bf8c059eb753f7198fed
Contents?: true
Size: 919 Bytes
Versions: 3
Compression:
Stored size: 919 Bytes
Contents
@announce Feature: Options via a command line interface (CLI) As an interactive user or automated script The application should accept options on the command line These options should override hard coded defaults In order to configure options Scenario: Version info When I run `oct --version` Then the exit status should be 0 And the output should match /oct, version ([\d]+\.[\d]+\.[\d]+$)/ Scenario: Help When I run `oct --help` Then the exit status should be 0 And the output should match: """ .* Usage: .* .* Options: .* -v, --\[no-\]verbose Run verbosely """ Scenario: Invalid option When I run `oct --non-existing-option` Then the exit status should be 1 And the output should match: """ ^.* invalid option: --non-existing-option ^.* --help for more information """
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oct-0.3.3 | features/bin.feature |
oct-0.3.2 | features/bin.feature |
oct-0.3.1 | features/bin.feature |