holyhope/WordPress Plugin Integration Test
Test a WordPress plugin using PHPUnit.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| wordpress_version | WordPress version | no | latest |
| php_version | PHP version | no | 8.2 |
| php_extensions | PHP extensions to install. Each extension should be on a new line. | no | imagick |
| plugin_dir | Path to the WordPress plugin | no | . |
| plugin_slug | Slug of the WordPress plugin | yes | — |
| phpunit_version | PHPUnit version to install. Set to `false` to use the system-wide PHPUnit binary. Default: Install the version found in `composer.json` file or `^9` if not found. | no | ^9 |
| phpunit_config | PHPUnit configuration file | no | phpunit.xml |
| scaffold_tests | Generates files needed for running PHPUnit tests in a plugin. | no | true |
Outputs
| name | description |
|---|---|
| junit_report | Path to the JUnit report |