Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 512 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 512 Bytes

PHPUnit

Easily run PHPUnit tests for your Drupal 8 project.

fin addon install phpunit

Usage once installed

Run fin phpunit to run the tests. Any additional arguments and options will be appended to the command. For example, to run tests within the modules/custom directory, run fin phpunit modules/custom.

If no phpunit.xml file exists, either a project specific one can be copied from .docksal/drupal/core/phpunit.xml or core's phpunit.xml.dist will be duplicated and renamed.