class PHPUnitStubs

Collection of template stub files for feature and unit test files.

Methods

static string
featureTestStub(string $testName)

The template for a new Feature test class that extends ApplicationTestCase.

static string
unitTestStub(string $testName)

The template for a new Unit Test class that extends TestCase.

Details

at line 15
static string featureTestStub(string $testName)

The template for a new Feature test class that extends ApplicationTestCase.

Parameters

string $testName

The name of the TestCase class.

Return Value

string

The contents for the new TestCase class.

at line 45
static string unitTestStub(string $testName)

The template for a new Unit Test class that extends TestCase.

Parameters

string $testName

The name of the TestCase class.

Return Value

string

The contents for the new TestCase class.