sstephenson / bats

Bash Automated Testing System
MIT License
7.13k stars 517 forks source link

Added the todo command for marking tests that may fail as passing, potentially (in pretty print) as a "bonus" if they pass. #239

Open scr opened 7 years ago

scr commented 7 years ago

See the TAP specification for more detail on this feature.

Tests which may fail but don't always or which may start passing for some unknown reason, or which provide beneficial info when run whether they pass or fail, may be marked as todo causing either pass or fail to be considered success, and, in pretty print mode, for a bonus ✭ DONE reason to be appended to the status for passing tests with todo.