Skip to content

Latest commit

 

History

History

phpunit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.