All apps/PHPUnit

PHPUnit

phpunit

The PHP unit testing framework command-line runner.

Runs as phpunit|macOS, Linux, Windows|phpunit.de

Command form

ai-draft · 2 tasks · 12 fields

Run PHPUnit with a configuration and common coverage and logging options. Test paths and filters are not in the completion data and are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui phpunit
Run testsExample values, fixed in this page — nothing here reaches a terminal
Basic
Configuration file
file
TasksEach one presets the form for one job
Run with configuration
configuration
HTML coverage report
coverage_html
ParametersOnly these flags are editable in the form
Configuration file
path
--configuration-c
Ignore default configuration
boolean
--no-configuration
Bootstrap script
path
--bootstrap
Ignore coverage configuration
boolean
--no-coverage
HTML coverage directory
path
--coverage-html
Text coverage file
Writes to this file; leave unset for no text report.
path
--coverage-text
Clover coverage file
path
--coverage-clover
Path coverage
boolean
--path-coverage
JUnit log file
path
--log-junit
Testdox text file
path
--testdox-text
Strict global state
boolean
--strict-global-state
Disallow test output
boolean
--disallow-test-output
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed phpunit against its version. A form that does not match your version is not offered.