test skipping idea

This commit is contained in:
Thomas Levine 2016-02-26 16:39:53 +00:00
parent 3f0e925975
commit 80ebf28da9
1 changed files with 12 additions and 0 deletions

12
TODO
View File

@ -1,6 +1,18 @@
Things I want
=============
Skip tests
-------------
I want tests to be able to decide to skip themselves. For example, if a test
requires some dependancy, it might look for the dependency and then skip if it
does not see the dependency. It might look like this.
#!/bin/sh
if which parallel > /dev/null; then
exit 3 # status code 3 for skip
fi
parallel blah blah ...
Test speed
-------------
Make tests run faster.