summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2014-05-08 12:17:28 +0200
committerTails developers <amnesia@boum.org>2014-05-08 13:13:37 +0200
commit2394106cca556a1326c4624be4768cb6835a6d22 (patch)
treeea073eb0a3094929493417946c6803e021ce5466
parentba1018c571cd206bc3dcb13a2a7f53446f706833 (diff)
Add tag mechanism for skipping tests.
-rwxr-xr-xrun_test_suite5
-rw-r--r--wiki/src/contribute/release_process/test/automated_tests.mdwn5
2 files changed, 8 insertions, 2 deletions
diff --git a/run_test_suite b/run_test_suite
index f90efd1..390d567 100755
--- a/run_test_suite
+++ b/run_test_suite
@@ -184,8 +184,9 @@ export JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64"
export SIKULI_HOME="/usr/share/java"
export DISPLAY=${TARGET_DISPLAY}
check_dependency cucumber
+CUCUMBER_OPTS="--tags ~@skip --format ExtraHooks::Pretty"
if [ -z "${*}" ]; then
- cucumber --format ExtraHooks::Pretty features
+ cucumber ${CUCUMBER_OPTS} features
else
- cucumber --format ExtraHooks::Pretty features/step_definitions features/support ${*}
+ cucumber ${CUCUMBER_OPTS} features/step_definitions features/support ${*}
fi
diff --git a/wiki/src/contribute/release_process/test/automated_tests.mdwn b/wiki/src/contribute/release_process/test/automated_tests.mdwn
index 3ee785c..ffb5fef 100644
--- a/wiki/src/contribute/release_process/test/automated_tests.mdwn
+++ b/wiki/src/contribute/release_process/test/automated_tests.mdwn
@@ -297,6 +297,11 @@ of this, see the `I set sudo password ...` step in
into a class variable so it can be used by, among others, the `I enter
the sudo password ...` step.
+## Skipping broken tests
+
+Any features or scenarios that will be broken for an extended time can
+be *completely* skipped by tagging them `@skip`.
+
# Limitations and issues
These things are good to know when developing new features, scenarios