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 32
void
run()
Runs all test methods in this test case or a specific test method if provided.
at line 75
void
runTest(string $method, array|null $args = null)
Executes a specified test method within this test case, handling data providers and errors.
at line 155
protected
getData(string $provider)
No description
at line 171
protected void
setUp()
Setup logic to be executed before each test method. Override in subclasses for specific behaviors.
at line 180
protected void
tearDown()
Teardown logic to be executed after each test method. Override in subclasses to release resources.
at line 203
protected void
skip(string $message = '')
Skips the current test, optionally providing a reason for skipping.