Class ProtoTestExecutor
Intercepts test execution in TUnit to manage the ProtoExecutionContext and execute registered lifecycle hooks.
public class ProtoTestExecutor : ITestExecutor
- Inheritance
-
ProtoTestExecutor
- Implements
-
ITestExecutor
- Inherited Members
- Extension Methods
Methods
ExecuteTest(TestContext, Func<ValueTask>)
Executes the test action within an isolated ProtoExecutionContext.
public ValueTask ExecuteTest(TestContext context, Func<ValueTask> action)
Parameters
contextTestContextThe execution context provided by TUnit.
actionFunc<ValueTask>The delegate representing the test method execution.