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

Provides a data source for a data theory, with the data coming from inline values. More...

Inheritance diagram for Xunit.InlineDataAttribute:
Xunit.Sdk.DataAttribute

Public Member Functions

 InlineDataAttribute (params object[] data)
 Initializes a new instance of the InlineDataAttribute class. More...
 
override IEnumerable< object[]> GetData (MethodInfo testMethod)
 Returns the data to be used to test the theory.
 

Additional Inherited Members

- Properties inherited from Xunit.Sdk.DataAttribute
virtual string Skip [get, set]
 Marks all test cases generated by this data source as skipped. More...
 

Detailed Description

Provides a data source for a data theory, with the data coming from inline values.

Constructor & Destructor Documentation

◆ InlineDataAttribute()

Xunit.InlineDataAttribute.InlineDataAttribute ( params object []  data)
inline

Initializes a new instance of the InlineDataAttribute class.

Parameters
dataThe data values to pass to the theory.

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