Logo: Relish

  1. Sign in

Project: Cvg

Exit Status

Scenarios
I provide invalid options

Invalid options should trigger an exit status of 1
which indicates there was a handled OptionParser::ParseError

When
I run cvg option
Then
the exit status should be 1
Examples:
option
-o
I provide valid options

Valid options should not trigger an exit status of 1

When
I run cvg option
Then
the exit status should be 0
Examples:
option
-h
--help

Last published over 5 years ago by mgoerlich.