summaryrefslogtreecommitdiffstats
path: root/testing/marionette/test/unit/README
diff options
context:
space:
mode:
Diffstat (limited to 'testing/marionette/test/unit/README')
-rw-r--r--testing/marionette/test/unit/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/marionette/test/unit/README b/testing/marionette/test/unit/README
new file mode 100644
index 0000000000..06eca782e7
--- /dev/null
+++ b/testing/marionette/test/unit/README
@@ -0,0 +1,16 @@
+To run the tests in this directory, from the top source directory,
+either invoke the test despatcher in mach:
+
+ % ./mach test testing/marionette/test/unit
+
+Or call out the harness specifically:
+
+ % ./mach xpcshell-test testing/marionette/test/unit
+
+The latter gives you the --sequential option which can be useful
+when debugging to prevent tests from running in parallel.
+
+When adding new tests you must make sure they are listed in
+xpcshell.ini, otherwise they will not run on try.
+
+See also ../../doc/Testing.md for more advice on our other types of tests.