xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.DataDiscoverer Class Reference

Default implementation of IDataDiscoverer. Uses reflection to find the data associated with DataAttribute; may return null when called without reflection-based abstraction implementations. More...

Inheritance diagram for Xunit.Sdk.DataDiscoverer:
Xunit.Sdk.IDataDiscoverer Xunit.Sdk.MemberDataDiscoverer

Public Member Functions

virtual IEnumerable< object[]> GetData (IAttributeInfo dataAttribute, IMethodInfo testMethod)
 Returns the data to be used to test the theory.
 
virtual bool SupportsDiscoveryEnumeration (IAttributeInfo dataAttribute, IMethodInfo testMethod)
 Returns true if the data attribute supports enumeration during discovery; false otherwise. Data attributes with expensive computational costs and/or randomized data sets should return false.
 

Detailed Description

Default implementation of IDataDiscoverer. Uses reflection to find the data associated with DataAttribute; may return null when called without reflection-based abstraction implementations.


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