aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/README.md')
-rw-r--r--tests/unit/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/unit/README.md b/tests/unit/README.md
new file mode 100644
index 00000000..e0252627
--- /dev/null
+++ b/tests/unit/README.md
@@ -0,0 +1,12 @@
+Unit tests
+==========
+
+Unit tests are grouped into directories according to what I felt like. The
+groups doesn't actually do anything (except allow easier running of only some).
+
+Each test file is written as a module declaration, since that make Guile
+slightly happier, and should end with a quoted list of modules which are
+explicitly tested in that file. Later, the coverage data from that test
+will be limited to the modules specified. This gives *much* better coverage
+data, and ensures that we actually cover all procedures with tests, instead
+of them being covered by some test "higher up" in the chain.