test skipping idea
This commit is contained in:
parent
3f0e925975
commit
80ebf28da9
12
TODO
12
TODO
@ -1,6 +1,18 @@
|
|||||||
Things I want
|
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
|
Test speed
|
||||||
-------------
|
-------------
|
||||||
Make tests run faster.
|
Make tests run faster.
|
||||||
|
Loading…
Reference in New Issue
Block a user