mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
Add tests to cover new additions
This commit is contained in:
parent
d0f2422e0d
commit
7c1ab6460d
3 changed files with 847 additions and 0 deletions
4
makefile
4
makefile
|
|
@ -73,6 +73,10 @@ test-run:
|
|||
@echo "🧪 Running tests..."
|
||||
php bin/phpunit
|
||||
|
||||
test-typecheck:
|
||||
@echo "🧪 Running type checks..."
|
||||
COMPOSER_MEMORY_LIMIT=-1 composer phpstan
|
||||
|
||||
# Quick test reset (clean + migrate + fixtures, skip DB creation)
|
||||
test-reset: test-cache-clear test-db-migrate test-fixtures
|
||||
@echo "✅ Test environment reset complete!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue