move skip tests to history

This commit is contained in:
Thomas Levine 2016-02-26 17:39:18 +00:00
parent bb103757e4
commit 0c73e5eb44
2 changed files with 11 additions and 12 deletions

11
HISTORY
View File

@ -7,6 +7,17 @@ Version 0.0.7
The Molly-guard is now more accepting. For example, you no longer need to
pass -f in this case: https://github.com/creationix/nvm/issues/357
Previously, tests were run if they were executable and were otherwise marked
as skipped. Now, an executable script can indicate that it is skipped by
exiting with code 3. 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 inkscape; then
exit 3 # status code 3 for skip
fi
inkscape blah blah ...
Version 0.0.6
---------------------

12
TODO
View File

@ -1,18 +1,6 @@
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.