Namespace AutoFixture.TUnit
Namespaces
Classes
Provides a data source for a data theory, with the data coming from inline values combined with auto-generated data specimens generated by AutoFixture.
Generic form of AutoArgumentsAttribute that supplies a single strongly typed inline value,
with remaining parameters filled by AutoFixture.
Provides a data source for a data theory, with the data coming from a class that yields test cases in any shape supported by TUnit MethodDataSource (for example IEnumerable<object?[]>, IEnumerable<T>, or tuples), combined with auto-generated data specimens generated by AutoFixture.
AutoClassDataSourceAttribute<T>
Generic form of AutoClassDataSourceAttribute that takes the data provider type
as a type argument instead of Type.
Provides auto-generated data specimens generated by AutoFixture as a TUnit data source.
Provides a data source for a data theory, with the data coming from one of the following sources and combined with auto-generated data specimens generated by AutoFixture:
- A static property
- A static field
- A static method (with parameters) The member must return test data in any shape supported by TUnit MethodDataSource (for example IEnumerable<object?[]>, IEnumerable<T>, tuples, or a single value).
AutoMemberDataSourceAttribute<T>
Generic form of AutoMemberDataSourceAttribute that takes the member-declaring type
as a type argument instead of Type.
Base class for data sources that provide AutoFixture test data for TUnit data driven tests.
An implementation of DataAttribute that composes other DataAttribute instances.
Base class for customizing parameters in methods decorated with
AutoDataSourceAttribute.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should be created using a constructor with one
or more array arguments, if applicable.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should be created using a constructor with one
or more IEnumerable%601 arguments, if applicable.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should be created using a constructor with one
or more IList%601 arguments, if applicable.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should be frozen so that the same instance is
returned every time the IFixture creates an instance of that type.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should be created using the most greedy
constructor that can be satisfied by an IFixture.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should be created using the most modest
constructor that can be satisfied by an IFixture.
An attribute that can be applied to parameters in an AutoDataSourceAttribute-driven
Theory to indicate that the parameter value should not have properties auto populated
when the IFixture creates an instance of that type.
Enums
The criteria used to determine which requests will be satisfied
by the frozen specimen created for a parameter
decorated with the FrozenAttribute attribute.