theboocock / shunit2

Automatically exported from code.google.com/p/shunit2
0 stars 0 forks source link

Display SKIPPED tests during execution #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not an issue but an enhancement. I noticed that the skip count was displayed, 
but not which tests were actually skipped. Since some of my tests only occurs 
in certain situation (i.e. running as root or running as user), I needed to 
display the skip tests to make sure I was not skipping too much.

The attached patch adds a flag named SHUNIT_REPORT_SKIP that, if set, will 
display the skipped test. Default behavior is the original behavior: do nothing.

Hope this help others.

Original issue reported on code.google.com by brassard...@gmail.com on 28 Aug 2013 at 9:12

Attachments: