From 80ebf28da964f274d21be5da914d39866ffbf457 Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Fri, 26 Feb 2016 16:39:53 +0000 Subject: [PATCH] test skipping idea --- TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO b/TODO index 16bd8f9..740f406 100644 --- a/TODO +++ b/TODO @@ -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.