summaryrefslogtreecommitdiff
path: root/test/README.md
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2021-03-14 21:33:23 -0700
committerOmar Rizwan <omar@omar.website>2021-03-14 21:33:23 -0700
commit11cf48259a987ab2d48355f14b3f11d897d6c8fa (patch)
treeb47087d15e0f6bb7d4c13e782bf195376cb530db /test/README.md
parent00caad5228ef9793538a119470b203df3f3e04c1 (diff)
downloadTabFS-11cf48259a987ab2d48355f14b3f11d897d6c8fa.tar.gz
TabFS-11cf48259a987ab2d48355f14b3f11d897d6c8fa.zip
test: separate tests from background.js, clean up and document a bit
also makes the test more lenient (subset instead of equality for tab entries)
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md
new file mode 100644
index 0000000..31460f9
--- /dev/null
+++ b/test/README.md
@@ -0,0 +1,12 @@
+# test
+
+Two separate test 'suites': one in `test.js` that uses node, and one
+in `test.c` that is an integration test that actually tests against
+the extension in browser.
+
+Right now, you need to have Chrome open (I haven't tried Firefox or
+Safari), and you'll want to make sure a window other than the
+extension console is focused (the console is non-debuggable, so it
+breaks the test).
+
+Run `make` in this folder.