PHPUnit Test Runner - Execute Tests | Online Free DevTools by Hexmos

Execute PHPUnit tests with PHPUnit Test Runner. Generate code coverage reports and run tests by group for efficient software testing. Free online tool, no registration required.

phpunit

PHPUnit test runner. More information: https://phpunit.de.

  • Run tests in the current directory. Note: Expects you to have a ‘phpunit.xml’:

phpunit

  • Run tests in a specific file:

phpunit {{path/to/TestFile.php}}

  • Run tests annotated with the given group:

phpunit --group {{name}}

  • Run tests and generate a coverage report in HTML:

phpunit --coverage-html {{path/to/directory}}