summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openlayers/tests/README.txt')
-rw-r--r--misc/openlayers/tests/README.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/openlayers/tests/README.txt b/misc/openlayers/tests/README.txt
new file mode 100644
index 0000000..dc1f192
--- /dev/null
+++ b/misc/openlayers/tests/README.txt
@@ -0,0 +1,16 @@
+This directory contains unit tests for the OpenLayers library.
+
+Tests use the Test.AnotherWay library from <http://openjsan.org>. The test
+runner is 'run-tests.html' and new test files need to be added to
+'list-tests.html'.
+
+The following file naming conventions are used:
+
+ * A filename that starts with `test_` and has an `.html` extension
+ contains tests. These should contain tests for a specific class.
+
+ * A filename starting with `page_` and has an `.html` extension is a
+ supporting HTML file used in one or more tests.
+
+ * A filename starting with 'data_` is a supporting data file used in one
+ or more tests.