Method GetTestFramework
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetTestFramework(Assembly)
Gets the test framework object for the given test assembly. It is important that callers to this function have called SetForInitialization(IMessageSink?, bool, bool) before calling this, so that the test framework and any ancillary helper classes have access to the diagnostic and internal diagnostic message sinks.
public static ITestFramework GetTestFramework(Assembly testAssembly)
Parameters
testAssembly
AssemblyThe test assembly to get the test framework for
Returns
The test framework object