Table of Contents

Class RegisteredEngineConfig

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

This class acts as a repository for test engine configuration for xunit.v3.core.aot.

public static class RegisteredEngineConfig
Inheritance
RegisteredEngineConfig
Inherited Members

Methods

GetAssemblyParallelAlgorithm(Assembly)

Gets the parallel algorithm. Returns null if one has not been set.

GetAssemblyParallelMaxThreads(Assembly)

Gets the max parallel threads. Returns null if one has not been set.

GetAssemblyParallelizationMode(Assembly)

Gets the parallel mode. Returns null if one has not been set.

GetAssemblyTestCaseOrderer(Assembly)

Gets the test case orderer that's attached to a test assembly. Returns null if there isn't one attached.

GetAssemblyTestClassOrderer(Assembly)

Gets the test class orderer that's attached to a test assembly. Returns null if there isn't one attached.

GetAssemblyTestCollectionOrderer(Assembly)

Gets the test collection orderer that's attached to a test assembly. Returns null if there isn't one attached.

GetAssemblyTestMethodOrderer(Assembly)

Gets the test method orderer that's attached to a test assembly. Returns null if there isn't one attached.

GetClassTestCaseOrderer(Type)

Gets the test case orderer that's attached to a test class. Returns null if there isn't one attached.

GetClassTestMethodOrderer(Type)

Gets the test method orderer that's attached to a test class. Returns null if there isn't one attached.

GetCollectionTestCaseOrderer(Type?)

Gets the test case orderer that's attached to a test collection. Returns null if there isn't one attached.

GetCollectionTestClassOrderer(Type?)

Gets the test class orderer that's attached to a test collection. Returns null if there isn't one attached.

GetCollectionTestMethodOrderer(Type?)

Gets the test method orderer that's attached to a test collection. Returns null if there isn't one attached.

GetMethodTestCaseOrderer(Type, string)

Gets the test case orderer that's attached to a test method. Returns null if there isn't one attached.

GetTestAssembly(Assembly, string?)

Gets the test assembly that was registered for the given assembly.

GetTestCollectionFactory(ICodeGenTestAssembly)

Gets an xUnit.net v3 test collection factory.

GetTestFramework(Assembly, string?)

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.

GetTestPipelineStartup(Assembly, List<string>?)

Gets the registered test pipeline startup object.

GetTheoryDataRowFactories(ICodeGenTestMethod)

Gets the theory data row factories associated with the given test method.

RegisterAssemblyFixtureFactory(Type, Func<bool, ValueTask<object?>>)

Registers a factory for an assembly-level test fixture.

RegisterAssemblyParallelAlgorithm(ParallelAlgorithm)

Registers a test assembly's parallelization algorithm.

RegisterAssemblyParallelMaxThreads(int)

Registers a test assembly's parallelization mode.

RegisterAssemblyParallelizationMode(ParallelMode)

Registers a test assembly's parallelization mode.

RegisterAssemblyTestCaseOrdererFactory(Func<ITestCaseOrderer>)

Registers the factory that creates the assembly-level ITestCaseOrderer instance.

RegisterAssemblyTestClassOrdererFactory(Func<ITestClassOrderer>)

Registers the factory that creates the assembly-level ITestClassOrderer instance.

RegisterAssemblyTestCollectionOrdererFactory(Func<ITestCollectionOrderer>)

Registers the factory that creates the assembly-level ITestCollectionOrderer instance.

RegisterAssemblyTestMethodOrdererFactory(Func<ITestMethodOrderer>)

Registers the factory that creates the assembly-level ITestMethodOrderer instance.

RegisterAssemblyTrait(string, params string[])

Registers one or more traits that are attached to the test assembly.

RegisterCodeGenTestCaseFactory(string, string, ICodeGenTestCaseFactory)

Registers the presence of an xUnit.net v3 test case factory via code generation.

RegisterCodeGenTestClass(string, CodeGenTestClassRegistration)

Registers the presence of an xUnit.net v3 test class via code generation.

RegisterCodeGenTestClassTrait(string, string, params string[])

Register one or more trait values for the given test class and trait name.

RegisterCodeGenTestCollectionTrait(string?, Type?, string, params string[])

Register one or more trait values for the given test collection name and trait name.

RegisterCodeGenTestMethod(string, string, CodeGenTestMethodRegistration)

Registers the presence of an xUnit.net v3 test class via code generation.

RegisterCodeGenTestMethodTrait(string, string, string, params string[])

Register one or more trait values for the given test class, test method, and trait name.

RegisterCollectionDefinition(string?, CodeGenTestCollectionRegistration)

Registers a collection definition.

RegisterTestCollectionFactoryFactory(Func<ICodeGenTestAssembly, ICodeGenTestCollectionFactory>)

Registers a factory for ICodeGenTestCollectionFactory.

RegisterTestFrameworkFactory(Func<string?, ITestFramework>)

Registers a test framework factory

RegisterTestPipelineStartupFactory(Func<ITestPipelineStartup>)

Registers a test pipeline startup factory.

RegisterTheoryDataRowFactory(string, string, bool, Func<DisposalTracker, ValueTask<IReadOnlyCollection<ITheoryDataRow>>>)

Registers a source of theory data rows for a given test method.