Add tests

This commit is contained in:
Pim van Pelt
2025-08-02 20:03:32 +02:00
parent 5eb76736cc
commit e2e65add2e
12 changed files with 1270 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: clean build install test help
.PHONY: clean build install test test-deps help
# Default target
help:
@@ -6,7 +6,8 @@ help:
@echo " clean - Remove build artifacts and cache files"
@echo " build - Build the wheel package"
@echo " install - Install the package in development mode"
@echo " test - Run tests (if available)"
@echo " test - Run the test suite"
@echo " test-deps - Install test dependencies"
@echo " help - Show this help message"
# Clean build artifacts
@@ -33,10 +34,15 @@ install:
@echo "Installing package in development mode..."
pip install -e .
# Test the package (placeholder for when tests are added)
# Install test dependencies
test-deps:
@echo "Installing test dependencies..."
pip install -e ".[test]"
# Test the package
test:
@echo "Running tests..."
@echo "No tests configured yet."
python3 run_tests.py
# Rebuild and reinstall (useful during development)
dev: clean build