interface TestBuilderInterface

Interface to be implemented by test builder classes for PHPUnit, Jest, and Vitest.

Methods

static int
makeTest(string $testName, string $suite)

Creates a new test class.

Details

at line 18
static int makeTest(string $testName, string $suite)

Creates a new test class.

Parameters

string $testName

The name for the test.

string $suite

The currently suite flag if available.

Return Value

int

A value that indicates success, invalid, or failure.