diff --git a/tests/15plugin.tests b/tests/20plugin.tests similarity index 100% rename from tests/15plugin.tests rename to tests/20plugin.tests diff --git a/wiki/index.html b/wiki/index.html index 6b16c2ab8..e77f90799 100755 --- a/wiki/index.html +++ b/wiki/index.html @@ -3494,7 +3494,7 @@ Portions written by Luke Blanshard are hereby released into the public domain. <!--}}}--> -
! The Test Script
To drive the various tests, we use the script {{{tests/test.sh}}}. All tests are run under valgrind control if available unless {{{VALGRINDFLAGS=DISABLE}}} is defined.
* The SCons buildsystem will build and run the testcode when executing the target {{{scons tests}}}.
@@ -3529,6 +3529,21 @@ In a .tests file one has to define following:
If no {{{out:}}} or {{{err:}}} is given, stdout and stderr are not considered as part of the test. If no {{{return:}}} is given, then 0 is expected.
+!! Numbering Tests
+It needs to be ensured that simpler tests come before more complex ones and that dependant tests come after their dependencies.
+
+Here is the order suggested:
+|00|The test system itself|
+|01..|Infrastructure, package consistency etc.|
+|10..|Basic support library functionality|
+|20..|Higher level support library services|
+|40..|Backend Unit tests|
+|50..|Proc Layer Unit tests|
+|60..|User interface Unit tests (Gui, Scripting)|
+|70..|Unit interaction tests (Backend, Proc, UI, ...)|
+|80..|Functionality tests on the complete program|
+|90..|Optional tests, example code etc.|
+