summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 405efb0..8dd4eba 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ help:
$(info lint | run lints with clippy)
$(info benchmark | just for fun, really)
$(info profile | only on linux - run callgrind and annotate it)
+ $(info unit-tests | run all unit test)
+ $(info continuous-unit-tests | run all unit test whenever something changes)
$(info journey-tests | run all stateless journey test)
$(info continuous-journey-tests | run all stateless journey test whenever something changes)
$(info -- Use docker for all dependencies - run make interactively from there ----------------)
@@ -33,6 +35,12 @@ profile: target/release/dua
benchmark: target/release/dua
hyperfine '$<'
+unit-tests:
+ cargo test --test interactive
+
+continuous-unit-tests:
+ watchexec $(MAKE) unit-tests
+
journey-tests: target/debug/dua
./tests/stateless-journey.sh $<