Method CreateTests
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
CreateTests()
Creates the tests that are emitted from this test case. Exceptions thrown here will be caught and converted into a test case failure.
public virtual ValueTask<IReadOnlyCollection<IXunitTest>> CreateTests()
Returns
Remarks
By default, this method returns a single XunitTest that is appropriate for a one-to-one mapping between test and test case. Override this method to change the tests that are associated with this test case.