TestCase
class TestCase
Single test case.
Constants
internal ListMethods |
|
internal MethodPattern |
|
Methods
Runs all test methods in this test case or a specific test method if provided.
Executes a specified test method within this test case, handling data providers and errors.
No description
Setup logic to be executed before each test method. Override in subclasses for specific behaviors.
Teardown logic to be executed after each test method. Override in subclasses to release resources.
Skips the current test, optionally providing a reason for skipping.
Details
at line 34
void
run()
Runs all test methods in this test case or a specific test method if provided.
at line 77
void
runTest(string $method, array|null $args = null)
Executes a specified test method within this test case, handling data providers and errors.
at line 157
protected
getData(string $provider)
No description
at line 173
protected void
setUp()
Setup logic to be executed before each test method. Override in subclasses for specific behaviors.
at line 182
protected void
tearDown()
Teardown logic to be executed after each test method. Override in subclasses to release resources.
at line 205
protected void
skip(string $message = '')
Skips the current test, optionally providing a reason for skipping.