Running SpecRun from command line as part of a Continuous Integration setup, and recently an ignored (@ignore
) test generated an exit code of 120 when SpecRun completed.
Currently, we break the build on any exit code not equal to 0 (universal success indicator!).
What does exit code 120 mean exactly? Is it simply "A test was ignored"? or does it imply more?
What other values are returned?
Sample build output below. We collect all exit codes (currently 1 SpecRun task, so only 1 exit code is collected), and print out to "exit codes"
58> Done.
58> Result: all tests passed (5 ignored)
58> Total: 478
58> Succeeded: 473
58> Ignored: 5
58> Pending: 0
58> Skipped: 0
58> Failed: 0
58>
58> Execution Time: 00:00:42.4550000
58>
58> exit codes 120
58>
58>Build FAILED.
58>
58>Time Elapsed 00:00:44.21
========== Rebuild All: 57 succeeded, 1 failed, 0 skipped ==========