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:
Pontoporeia
2026-05-20 01:55:58 +02:00
parent 93625d09b5
commit a047062d87
17 changed files with 475 additions and 2078 deletions

10
TODO.md
View File

@@ -25,11 +25,11 @@
- [x] 3.3 `AutofocusFieldForErrorTest.php` — correct field per error key, unknown key returns null/default, no CreateController name leak
## Phase 4 — Cleanup
- [ ] 4.1 Migrate 8 existing custom-runner tests to PHPUnit in `tests/phpunit/`
- [ ] 4.2 Verify all pass under `vendor/bin/phpunit`
- [ ] 4.3 Remove `run-tests.php` and old test files
- [ ] 4.4 Add `vendor/bin/phpunit` to justfile/Makefile CI target
- [ ] 4.5 Generate baseline coverage report (`--coverage-html coverage/`)
- [x] 4.1 Migrate 8 existing custom-runner tests to PHPUnit in `tests/phpunit/`
- [x] 4.2 Verify all pass under `vendor/bin/phpunit`
- [x] 4.3 Remove `run-tests.php` and old test files
- [x] 4.4 Add `vendor/bin/phpunit` to justfile/Makefile CI target
- [ ] 4.5 Generate baseline coverage report (`--coverage-html coverage/`) — needs Xdebug/PCov
- [ ] 4.6 Commit coverage baseline
---