Namespace AutoFixture.Xunit3

Namespaces

AutoFixture.Xunit3.Internal

Classes

AutoDataAttribute

Provides auto-generated data specimens generated by AutoFixture as an extension to xUnit.net's Theory attribute.

ClassAutoDataAttribute

Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<object?[]>, combined with auto-generated data specimens generated by AutoFixture.

CompositeDataAttribute

An implementation of DataAttribute that composes other DataAttribute instances.

CustomizeAttribute

Base class for customizing parameters in methods decorated with AutoDataAttribute.

FavorArraysAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-driven Theory to indicate that the parameter value should be created using a constructor with one or more array arguments, if applicable.

FavorEnumerablesAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-driven Theory to indicate that the parameter value should be created using a constructor with one or more IEnumerable%601 arguments, if applicable.

FavorListsAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-driven Theory to indicate that the parameter value should be created using a constructor with one or more IList%601 arguments, if applicable.

FrozenAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-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.

GreedyAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-driven Theory to indicate that the parameter value should be created using the most greedy constructor that can be satisfied by an IFixture.

InlineAutoDataAttribute

Provides a data source for a data theory, with the data coming from inline values combined with auto-generated data specimens generated by AutoFixture.

MemberAutoDataAttribute

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:

  1. A static property
  2. A static field
  3. A static method (with parameters) The member must return something compatible with IEnumerable<object[]> with the test data.

ModestAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-driven Theory to indicate that the parameter value should be created using the most modest constructor that can be satisfied by an IFixture.

NoAutoPropertiesAttribute

An attribute that can be applied to parameters in an AutoDataAttribute-driven Theory to indicate that the parameter value should not have properties auto populated when the IFixture creates an instance of that type.

Enums

Matching

The criteria used to determine which requests will be satisfied by the frozen specimen created for a parameter decorated with the FrozenAttribute attribute.