aboutsummaryrefslogtreecommitdiff
path: root/tests/HACKING
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-03-16 12:01:09 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-03-16 19:05:08 -0700
commit2a880a1419674091190a7814ff25dc6f57014876 (patch)
tree71cc291671bef4bd6eba4f429f5e044b0e474690 /tests/HACKING
parent23497607bf7ec831dd57bf06bf6cd802c3ec6b8a (diff)
downloadconsfigurator-2a880a1419674091190a7814ff25dc6f57014876.tar.gz
add hint about running tests in development
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'tests/HACKING')
-rw-r--r--tests/HACKING8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/HACKING b/tests/HACKING
new file mode 100644
index 0000000..d9af06c
--- /dev/null
+++ b/tests/HACKING
@@ -0,0 +1,8 @@
+One convenient way to run tests in development is to evaluate
+
+ (setq #+sbcl sb-rt:*do-tests-when-defined*
+ #-sbcl regression-test:*do-tests-when-defined*
+ t)
+
+and then use SLIME's C-c C-c to run individual tests and its C-c C-k to run
+all tests in the current file. You'll get REPL output if any fail.