aboutsummaryrefslogtreecommitdiff
path: root/tap/tests/README
diff options
context:
space:
mode:
Diffstat (limited to 'tap/tests/README')
-rw-r--r--tap/tests/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/tap/tests/README b/tap/tests/README
new file mode 100644
index 00000000..a15fec28
--- /dev/null
+++ b/tap/tests/README
@@ -0,0 +1,12 @@
+Most of the tests follow the same pattern.
+
+ * test.pl that uses Test::More, and demonstrates whatever functionality
+ that we're trying to test. This is the reference code.
+
+ * test.c, which tests the libtap reimplementation of the same functionality.
+
+ * test.t, which compiles the .c program, runs both test scripts, and then
+ diffs their output to make sure it's identical.
+
+ Right now, test.t is identical in every directory. This sucks somewhat.
+ It should either be a symlink to a common script