Skip to content

TestCase<THarness>.Execute Method ​

Definition ​

Executes this test case using the specified harness type.

c#
public abstract void Execute<TTestHarness>(TextWriter? testOutput = null)
   where TTestHarness : THarness, new();

Type Parameters ​

NameDescription
TTestHarnessThe type of harness to use for execution.

Parameters ​

NameTypeDescription
testOutputTextWriterOptional TextWriter for test output. If null, no output will be written.