atoum / ruler-extension

The atoum ruler-extension allows you to filter your tests using Hoa\Ruler.
MIT License
9 stars 4 forks source link

add filter on extensions #20

Closed agallou closed 8 years ago

agallou commented 8 years ago

It's now possible to add a filter on an extension.

atoum as a mechanism to ignore some tests if a php extension is not loaded. For example :

/**
 * @extensions blackfire
 */
class Example extends atoum

This change adds an extension variable to the filter rule.

You can now, for example launch only the tests that needs the blackfire extension :

./vendor/bin/atoum -d tests --filter '"blackfire" in extensions'
jubianchi commented 8 years ago

@agallou could you add a changelog entry please ?

Hywan commented 8 years ago

:+1:

agallou commented 8 years ago

changelog updated.

agallou commented 8 years ago

branch rebased after the merge of the PR #24