Documentation

EnvTests extends TestSuite
in package

The EnvTests suite allows you to specify an arbitrary mix of tests using an environment variable. For example:

env PHPUNIT_TESTS="MyFirstTest MySecondTest" phpunit EnvTests

The PHPUNIT_TESTS variable contains a space-delimited list of test names. Each name may be a class (eg "MyFirstTest") or a method (eg "MyFirstTest::testFoo").

Table of Contents

Methods

suite()  : EnvTests

Methods


        
On this page

Search results