IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Interfaces.IFixtureBuilder Interface Reference

The IFixtureBuilder interface is exposed by a class that knows how to build a TestFixture from one or more Types. In general, it is exposed by an attribute, but may be implemented in a helper class used by the attribute in some cases. More...

+ Inheritance diagram for NUnit.Framework.Interfaces.IFixtureBuilder:

Public Member Functions

IEnumerable< TestSuiteBuildFrom (ITypeInfo typeInfo)
 Build one or more TestFixtures from type provided. At least one non-null TestSuite must always be returned, since the method is generally called because the user has marked the target class as a fixture. If something prevents the fixture from being used, it will be returned nonetheless, labelled as non-runnable. More...
 

Detailed Description

The IFixtureBuilder interface is exposed by a class that knows how to build a TestFixture from one or more Types. In general, it is exposed by an attribute, but may be implemented in a helper class used by the attribute in some cases.

Member Function Documentation

IEnumerable<TestSuite> NUnit.Framework.Interfaces.IFixtureBuilder.BuildFrom ( ITypeInfo  typeInfo)

Build one or more TestFixtures from type provided. At least one non-null TestSuite must always be returned, since the method is generally called because the user has marked the target class as a fixture. If something prevents the fixture from being used, it will be returned nonetheless, labelled as non-runnable.

Parameters
typeInfoThe type info of the fixture to be used.
Returns
A TestSuite object or one derived from TestSuite.

Implemented in NUnit.Framework.TestFixtureAttribute, NUnit.Framework.TestFixtureSourceAttribute, and NUnit.Framework.SetUpFixtureAttribute.


The documentation for this interface was generated from the following file: