class PHPUnitTestBuilder implements TestBuilderInterface

Utility class that supports ability to create new test classes for PHPUnit based tests.

Methods

static int
makeTest(string $testName, InputInterface $input)

Creates a new test class. When --feature flag is provided a test feature class is created.

Details

at line 23
static int makeTest(string $testName, InputInterface $input)

Creates a new test class. When --feature flag is provided a test feature class is created.

Parameters

string $testName

The name for the test.

InputInterface $input

The Symfony InputInterface object.

Return Value

int

A value that indicates success, invalid, or failure.