sstephenson / bats

Bash Automated Testing System
MIT License
7.12k stars 519 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 6 years ago

scr commented 6 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.