Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Atoum

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

# grumphp.yml
grumphp:
    tasks:
        atoum:
            config_file: .atoum.php
            bootstrap_file: tests/units/bootstrap.php
            directories:
                - tests/units
            files:
                - tests/units/MyTest.php
            namespaces:
                - mageekguy\\atoum\\tests\\units\\asserters
            methods:
                - mageekguy\\atoum\\tests\\units\\asserters\\string::testContains
                - mageekguy\\atoum\\tests\\units\\asserters\\string::*
            tags:
                - thisIsOneTag
                - thisIsThreeTag

config_file

Default: null

The path to your configuration file. If you name your configuration file .atoum.php, atoum will load it automatically if this file is located in the current directory. The config_file parameter is optional in this case.

See atoum documentation

bootstrap_file

Default: null

The path to your bootstrap file if you need any.

See atoum documentation

directories

Default: []

If you want to limit the execution of the unit tests to certain directories, list them here.

See atoum documentation

files

Default: []

If you want to limit the execution of the unit tests to certain files, list them here.

See atoum documentation

namespaces

Default: []

If you want to limit the execution of the unit tests to certain namespaces, list them here.

See atoum documentation

methods

Default: []

If you want to limit the execution of the unit tests to certain methods or classes, list them here.

See atoum documentation

tags

Default: []

If you want to limit the execution of the unit tests to certain tags, list them here.

See atoum documentation