Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 831 Bytes

File metadata and controls

35 lines (24 loc) · 831 Bytes

Phpunit

The Phpunit task will run your unit tests. It lives under the phpunit namespace and has following configurable parameters:

# grumphp.yml
parameters:
    tasks:
        phpunit:
            config_file: ~
            group: []
            always_execute: false

config_file

Default: null

If your phpunit.xml file is located at an exotic location, you can specify your custom config file location with this option. This option is set to null by default. This means that phpunit.xml or phpunit.xml.dist are automatically loaded if one of them exist in the current directory.

group

Default: array()

If you wish to only run tests from a certain Group. group: [fast,quick,small]

always_execute

Default: false

Always run the whole test suite, even if no PHP files were changed.