Table of Contents

Interface ICodeGenTestClass

Namespace
Xunit.v3
Assembly
xunit.v3.core.aot.dll

Represents a test class from xUnit.net v3.

public interface ICodeGenTestClass : ICoreTestClass, ITestClass, ITestClassMetadata
Inherited Members

Remarks

This interface is used for code generation-based tests.

Properties

BeforeAfterTestAttributes

Gets the BeforeAfterTestAttributes attached to the test class (and the test collection and test assembly).

ClassFixtureFactories

Gets the fixture factories for the class-level test fixtures on the test class.

TestClassFactory

Gets the test class factory that will be used to create test class instances while tests are running.

TestCollection

Gets the test collection this test class belongs to.