id = "phpunit" name = "PHPUnit" description = "The PHP unit testing framework command-line runner." homepage = "https://phpunit.de" executables = ["phpunit"] [commands] format = 1 label = "Run tests" description = "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." quality = "ai-draft" base = "fig:phpunit" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/phpunit.ts" license = "MIT" [[commands.field]] id = "configuration" label = "Configuration file" type = "path" option = ["--configuration", "-c"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.field]] id = "no_configuration" label = "Ignore default configuration" type = "boolean" option = ["--no-configuration"] sources = ["fig"] [[commands.field]] id = "bootstrap" label = "Bootstrap script" type = "path" option = ["--bootstrap"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.field]] id = "no_coverage" label = "Ignore coverage configuration" type = "boolean" option = ["--no-coverage"] sources = ["fig"] [[commands.field]] id = "coverage_html" label = "HTML coverage directory" type = "path" option = ["--coverage-html"] path = { kind = "directory", role = "output" } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "coverage_text" label = "Text coverage file" description = "Writes to this file; leave unset for no text report." type = "path" option = ["--coverage-text"] path = { kind = "file", role = "output" } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "coverage_clover" label = "Clover coverage file" type = "path" option = ["--coverage-clover"] path = { kind = "file", role = "output" } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "path_coverage" label = "Path coverage" type = "boolean" option = ["--path-coverage"] sources = ["fig"] [[commands.field]] id = "log_junit" label = "JUnit log file" type = "path" option = ["--log-junit"] path = { kind = "file", role = "output" } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "testdox_text" label = "Testdox text file" type = "path" option = ["--testdox-text"] path = { kind = "file", role = "output" } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "strict_global_state" label = "Strict global state" type = "boolean" option = ["--strict-global-state"] sources = ["fig"] [[commands.field]] id = "disallow_test_output" label = "Disallow test output" type = "boolean" option = ["--disallow-test-output"] sources = ["fig"] [[commands.task]] id = "run" label = "Run with configuration" fields = ["configuration"] required = [] [[commands.task]] id = "html_cov" label = "HTML coverage report" fields = ["coverage_html"] required = ["coverage_html"] [[commands.group]] id = "basic" label = "Basic" fields = ["configuration", "no_configuration", "bootstrap", "no_coverage", "coverage_html", "coverage_text", "coverage_clover"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["path_coverage", "log_junit", "testdox_text", "strict_global_state", "disallow_test_output"]