Update framework testing infrastructure and standards
- Add phpt test runner and suite for app functions - Introduce testing workflow to AGENT.md - Add tests for cache, content, context, helpers, hooks, plugins, rendering - Mount tests directory in dev container
This commit is contained in:
parent
33943a907b
commit
449e6f8e03
22 changed files with 909 additions and 7 deletions
8
devel/tests/run.sh
Executable file
8
devel/tests/run.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
# Run phpt tests inside the container.
|
||||
# Usage: ./run.sh [filter] — filter matches against test filename substrings
|
||||
# Example: ./run.sh extract_raw_date
|
||||
|
||||
CONTAINER=${CONTAINER:-folderweb-default}
|
||||
|
||||
podman exec "$CONTAINER" php /var/www/tests/run.php "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue