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.ITestBuilder Interface Reference

The ITestBuilder interface is exposed by a class that knows how to build one or more TestMethods from a MethodInfo. In general, it is exposed by an attribute, which has additional information available to provide the necessary test parameters to distinguish the test cases built. More...

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

Public Member Functions

IEnumerable< TestMethodBuildFrom (IMethodInfo method, Test suite)
 Build one or more TestMethods from the provided MethodInfo. More...
 

Detailed Description

The ITestBuilder interface is exposed by a class that knows how to build one or more TestMethods from a MethodInfo. In general, it is exposed by an attribute, which has additional information available to provide the necessary test parameters to distinguish the test cases built.

Member Function Documentation

IEnumerable<TestMethod> NUnit.Framework.Interfaces.ITestBuilder.BuildFrom ( IMethodInfo  method,
Test  suite 
)

Build one or more TestMethods from the provided MethodInfo.

Parameters
methodThe method to be used as a test
suiteThe TestSuite to which the method will be added
Returns
A TestMethod object

Implemented in NUnit.Framework.TestCaseAttribute, NUnit.Framework.TestCaseSourceAttribute, and NUnit.Framework.CombiningStrategyAttribute.


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