Comments (4)
I had the same issue once. It ended up being a type that had a boolean property that offset the procession and making all system under test falling in the order so that the tested property was always in odd/even position.
from autofixture.
Unless otherwise configured, AF alternates true and false values when generating boolean properties (it does something similar with enums too).
If that property needs to be either true or false, it's better if you explicitly configure it to be so.
from autofixture.
Thanks, you are totally right about explicitly configuring a property. But if something works differently on your local pc and in the dev environment it is a bug, am I right?
from autofixture.
Seems the question was answered. Closing the issue.
from autofixture.
Related Issues (20)
- β¨ Support FakeItEasy 8 HOT 1
- β¨ Support for NUnit 4 HOT 18
- π FromFactory doesn't honor the Range attribute HOT 6
- β¨ Accept `ISpecimentBuilder` as value generator for `With` HOT 1
- β¨ DataAnnotations support for specimen factories
- π Auto properties on large record types causes severe performance degradation HOT 4
- ICustomization for DateOnly causes a hang. HOT 1
- π RandomNumericSequenceGenerator with limits, can create values outside of these limits in certain scenarios HOT 1
- autofixture is missing NuGet package README file HOT 7
- autofixture.automoq is missing NuGet package README file HOT 1
- `IAsyncEnumerable` generates an infinite sequence π HOT 2
- π SourceLink doesn't work because of incorrect casing in GitHub URLs HOT 4
- π¨ Vulnerability in packages System.Net.Http and System.Text.RegularExpressions HOT 3
- Builder.WithVariations⨠HOT 4
- π FromSeed() does not set value from seeded object property HOT 4
- Not able to create second nullalbe int π HOT 3
- π Cannot create model with DateOnly field HOT 3
- π (v5) `MemberAutoData` and `ClassAutoData` override explicit `null` in data source HOT 2
- π v5 `MemberAutoData` does not find static members on base classes
- π AutoMoq fails to work with TimeProvider in .NET 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autofixture.