I want to separate my tests in unit and integration tests and have an abstract TestCase class for each, e.g. UnitTestCase
and IntegrationTestCase
.
Is there a nice way to run only those tests that extend UnitTestCase
without giving a @group unit
annotation to each of these test classes?
The phpunit documentation is very sparse when describing subclassing. Also a google search didn't turn up any useful results.