cakephp test filter do not execute

140 Views Asked by At

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?

0

There are 0 best solutions below