class TestCase

Single test case.

Constants

internal ListMethods

internal MethodPattern

Methods

void
run()

Runs the test case.

void
runTest(string $method, array|null $args = null)

Runs the test method.

mixed
getData(string $provider)

No description

void
setUp()

This method is called before a test is executed.

void
tearDown()

This method is called after a test is executed.

void
skip(string $message = '')

Skips the test.

Details

at line 33
void run()

Runs the test case.

Return Value

void

at line 71
void runTest(string $method, array|null $args = null)

Runs the test method.

Parameters

string $method
array|null $args

test method parameters (dataprovider bypass)

Return Value

void

at line 154
protected mixed getData(string $provider)

No description

Parameters

string $provider

Return Value

mixed

at line 170
protected void setUp()

This method is called before a test is executed.

Return Value

void

at line 179
protected void tearDown()

This method is called after a test is executed.

Return Value

void

at line 199
protected void skip(string $message = '')

Skips the test.

Parameters

string $message

Return Value

void