basercms-unittest - Run and investigate baserCMS unit tests
Runs and investigates baserCMS CakePHP 5 and PHPUnit tests in Docker, including standalone plugin test setup.
Tags
Updated: 2026-11-10Capabilities
Typical Outputs
What this skill does
- Run the full test suite
- Run targeted PHPUnit tests
- Lint modified PHP files
- Aggregate recurring test failures
- Trace database value changes
- Set up standalone plugin tests
- Pin compatible Phinx versions
Inputs
- Docker Compose project path
- PHP and database container names
- Test file or method filter
- Plugin source files
- Database connection settings
- Test database
Outputs
- PHPUnit test results
- PHP lint diagnostics
- Failure summary logs
- Debug trace logs
- Standalone test files
- Test database schema
Requirements
- Docker and Docker Compose
- Running PHP and database containers
- PHPUnit and project dependencies
- Access to the project files
- Database access permissions
- Manual BcBake activation for scaffolding
