{
  "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
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/phpunit.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "configuration",
        "label": "Configuration file",
        "type": "path",
        "option": [
          "--configuration",
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_configuration",
        "label": "Ignore default configuration",
        "type": "boolean",
        "option": [
          "--no-configuration"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "bootstrap",
        "label": "Bootstrap script",
        "type": "path",
        "option": [
          "--bootstrap"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_coverage",
        "label": "Ignore coverage configuration",
        "type": "boolean",
        "option": [
          "--no-coverage"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "coverage_html",
        "label": "HTML coverage directory",
        "type": "path",
        "option": [
          "--coverage-html"
        ],
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "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"
        ]
      },
      {
        "id": "coverage_clover",
        "label": "Clover coverage file",
        "type": "path",
        "option": [
          "--coverage-clover"
        ],
        "path": {
          "kind": "file",
          "role": "output"
        },
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "path_coverage",
        "label": "Path coverage",
        "type": "boolean",
        "option": [
          "--path-coverage"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "log_junit",
        "label": "JUnit log file",
        "type": "path",
        "option": [
          "--log-junit"
        ],
        "path": {
          "kind": "file",
          "role": "output"
        },
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "testdox_text",
        "label": "Testdox text file",
        "type": "path",
        "option": [
          "--testdox-text"
        ],
        "path": {
          "kind": "file",
          "role": "output"
        },
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "strict_global_state",
        "label": "Strict global state",
        "type": "boolean",
        "option": [
          "--strict-global-state"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "disallow_test_output",
        "label": "Disallow test output",
        "type": "boolean",
        "option": [
          "--disallow-test-output"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "run",
        "label": "Run with configuration",
        "fields": [
          "configuration"
        ],
        "required": []
      },
      {
        "id": "html_cov",
        "label": "HTML coverage report",
        "fields": [
          "coverage_html"
        ],
        "required": [
          "coverage_html"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "configuration",
          "no_configuration",
          "bootstrap",
          "no_coverage",
          "coverage_html",
          "coverage_text",
          "coverage_clover"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "path_coverage",
          "log_junit",
          "testdox_text",
          "strict_global_state",
          "disallow_test_output"
        ]
      }
    ]
  }
}
