summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-12 10:23:59 -0600
committermo khan <mo@mokhan.ca>2025-06-12 10:23:59 -0600
commit709ded1030c6797c8bf3df5a97c5afe8d628393a (patch)
tree15ddd2f0df11726c833ac0b08b36542593fc5d9f /Makefile
parent2cfab36d8471986ea8c0aeb54244e5e90bd63a48 (diff)
test: add tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7f8f288..381bc1c 100644
--- a/Makefile
+++ b/Makefile
@@ -4,3 +4,15 @@ setup:
run:
@mise use python@system
@python AdventureGame.py
+
+test:
+ @mise use python@system
+ @python -m unittest discover -s . -p "test_*.py" -v
+
+test-gameobject:
+ @mise use python@system
+ @python -m unittest test_game_object -v
+
+test-adventure:
+ @mise use python@system
+ @python -m unittest test_adventure_game -v