Top "Autofixture" questions

AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests.

How can I instruct AutoFixture to not bother filling out some properties?

I have a set of Data Access classes that are nested fairly deep. To construct a list of 5 of them …

c# .net autofixture
Autofixture: Controlling number of elements that are created of type string[]

I have an issue with creating a string array of type string[], everytime it creates 3 values but i want to …

c# autofixture
Example of how to use AutoFixture with NSubstitute

I use NSubstitute a lot. And I love it. I am just looking into AutoFixture. It seems great! I have …

c# .net autofixture nsubstitute
How to get AutoFixture create an integer that is >0, and not another number?

I want AutoFixture to generate two integers, and for the second one, I don't want it to be 0, or the …

c# random int autofixture
Setting property value on child instance to a fixed value with Autofixture

Is it possible to assign a fixed value to a property on a child instance when building a parent with …

c# hierarchy autofixture
Customizing AutoFixture builder with seeded property

I've got a customized autofixture builder for an integration test. Code is below. Question 1 - At present the first transaction …

c# autofixture