warden_run_unit_tests
Execute PHPUnit unit tests in Warden-managed Magento 2 environments by specifying project paths, config files, test paths, and additional arguments for precise testing automation.
Instructions
Run unit tests using PHPUnit in the php-fpm container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
config_file | No | PHPUnit configuration file (auto-detects phpunit.xml.dist or phpunit.xml) | |
extra_args | No | Additional PHPUnit arguments | |
project_path | Yes | Path to the project directory | |
test_path | No | Optional path to specific test file or directory |