Interface IFixtureBuilder2
The IFixtureBuilder2 interface extends IFixtureBuilder by allowing use of a PreFilter, which is used to select methods as test cases.
Inherited Members
Namespace: NUnit.Framework.Interfaces
Assembly: nunit.framework.dll
Syntax
public interface IFixtureBuilder2 : IFixtureBuilder
Methods
View SourceBuildFrom(ITypeInfo, IPreFilter)
Builds any number of test fixtures from the specified type.
Declaration
IEnumerable<TestSuite> BuildFrom(ITypeInfo typeInfo, IPreFilter filter)
Parameters
Type | Name | Description |
---|---|---|
ITypeInfo | typeInfo | The type info of the fixture to be used. |
IPreFilter | filter | PreFilter to be used to select methods. |
Returns
Type | Description |
---|---|
IEnumerable<TestSuite> |