mardi 9 juin 2015

cakephp test filter do not execute

When I run my test cases for a table it runs ok.

bin/phpunit tests/TestCase/Model/Table/ContactsTableTest

But if I wouuld like to add a filter it just do not runs any tests

bin/phpunit --filter checkDuplicatesOnNames tests/TestCase/Model/Table/ContactsTableTest

The output of this is the following:

PHPUnit 4.7.2 by Sebastian Bergmann and contributors.

Time: 130 ms, Memory: 7.00Mb

No tests executed!

Any guess why is that?

Aucun commentaire:

Enregistrer un commentaire