As you can see, every test case is a class. The class name should end with
Test. This is because when you test your classes, the test class should mirror tested class, and the difference between the tested class and the test suite is Test added to the name:
. |-- src | '-- library | '-- Util | '-- File.php '-- tests '-- library '-- Util '-- FileTest.php
PHPUnit Class Test Name convention.
Share this highlighthttp://www.safaribooksonline.com/a/phpunit-essentials/9984/