Skip to content

M_CodeJam_PerfTests_Running_Core_Xunit_CompetitionFactDiscoverer_Discover

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionFactDiscoverer.Discover Method

Discover test cases from a test method.

Namespace: CodeJam.PerfTests.Running.Core.Xunit
Assembly: CodeJam.PerfTests.xUnit (in CodeJam.PerfTests.xUnit.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public IEnumerable<IXunitTestCase> Discover(
	ITestFrameworkDiscoveryOptions discoveryOptions,
	ITestMethod testMethod,
	IAttributeInfo factAttribute
)

VB

Public Function Discover ( 
	discoveryOptions As ITestFrameworkDiscoveryOptions,
	testMethod As ITestMethod,
	factAttribute As IAttributeInfo
) As IEnumerable(Of IXunitTestCase)

F#

abstract Discover : 
        discoveryOptions : ITestFrameworkDiscoveryOptions * 
        testMethod : ITestMethod * 
        factAttribute : IAttributeInfo -> IEnumerable<IXunitTestCase> 
override Discover : 
        discoveryOptions : ITestFrameworkDiscoveryOptions * 
        testMethod : ITestMethod * 
        factAttribute : IAttributeInfo -> IEnumerable<IXunitTestCase> 

Parameters

 

discoveryOptions
Type: ITestFrameworkDiscoveryOptions
The discovery options to be used.
testMethod
Type: ITestMethod
The test method the test cases belong to.
factAttribute
Type: IAttributeInfo
The fact attribute attached to the test method.

Return Value

Type: IEnumerable(IXunitTestCase)
Returns zero or more test cases represented by the test method.

Implements

IXunitTestCaseDiscoverer.Discover(ITestFrameworkDiscoveryOptions, ITestMethod, IAttributeInfo)

See Also

Reference

CompetitionFactDiscoverer Class
CodeJam.PerfTests.Running.Core.Xunit Namespace

Clone this wiki locally