From cf182d001f66164232b8735bad43eb07121109c6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 13 Nov 2025 11:36:06 -0600 Subject: test: Add Phase 1 foundation tests for critical functions - Add unit tests for org-drill-entry-p (14 tests) - Add unit tests for org-drill-part-of-drill-entry-p (14 tests) - Add unit tests for SM2 scheduling algorithm (23 tests) - Add integration test for basic drill workflow (11 tests) - Update Makefile to support test-*.el naming pattern - Rename org-drill-test.el to test-org-drill.el for consistency Total: 65 tests, all passing --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4ed36a4..b4ece5d 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,9 @@ endif # Test directories and files TEST_DIR = tests -UNIT_TESTS = $(filter-out $(TEST_DIR)/%-integration-test.el, $(wildcard $(TEST_DIR)/*-test.el)) +# Match test-*.el pattern, excluding integration tests +UNIT_TESTS = $(filter-out $(TEST_DIR)/%integration-test.el, \ + $(wildcard $(TEST_DIR)/test-*.el)) INTEGRATION_TESTS = $(wildcard $(TEST_DIR)/*-integration-test.el) ALL_TESTS = $(UNIT_TESTS) $(INTEGRATION_TESTS) -- cgit v1.2.3