mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-10 03:30:08 +01:00
Phase 4 cleanup: migrate old tests to PHPUnit, add ErrorHandler/PureLogic/SearchController tests, remove app/tests/, update justfile test target
This commit is contained in:
1 parent
93625d09b5
commit
a047062d87
17 files changed
+475
-2078
No files matched your search
@@ -339,10 +339,13 @@ deploy-all-first: deploy deploy-backup
|
||||
|
||||
[group('test')]
|
||||
test:
|
||||
# Run all tests. To run a subset, use:
|
||||
# php app/tests/Unit/DatabaseTest.php
|
||||
# php app/tests/Integration/SearchTest.php
|
||||
@php app/tests/run-tests.php
|
||||
# Run all PHPUnit tests
|
||||
@vendor/bin/phpunit tests/phpunit/
|
||||
|
||||
[group('test')]
|
||||
test-coverage:
|
||||
# Generate HTML coverage report in coverage/
|
||||
@vendor/bin/phpunit --coverage-html coverage/ tests/phpunit/
|
||||
|
||||
[group('test')]
|
||||
lint-biome:
|
||||
|
||||
Reference in new issue
Block a user