AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
MIT License
Bot releases are hidden (Show)
Published by zvirja over 5 years ago
New features:
Improvements and fixes:
Published by zvirja over 5 years ago
New features:
netstandard 2.0
by FakeItEasy integration library (#1090, thanks @blairconrad).Improvements and fixes:
CallBase
flag for Moq generated delegates (#1095, thanks @Kralizek).Published by zvirja almost 6 years ago
New features:
With()
extension method overload taking factory method (#1084).Published by zvirja almost 6 years ago
Improvements and fixes:
Published by zvirja over 6 years ago
New features:
LambdaExpression
type) (thanks @bordecal).UnwrapMemberRequest
builder. See motivation in #1055.ToCustomization()
extension. See motivation in #1056.Improvements and fixes:
[MinLength]
attribute is specified only for arrays (thanks @Pvlerick).Published by zvirja over 6 years ago
New features:
Range
annotation attribute now supports TimeSpan
(thanks @damian-krychowski)MinLength
and MaxLength
data annotation attributes (thanks again @damian-krychowski)Published by zvirja over 6 years ago
Improvements:
Fare
library as a dependency, instead of embedding it locally (#938).netstardard2.0
directly (#993).Published by zvirja over 6 years ago
A couple of bug fixes:
ArgumentNullException
when Fixture
is initialized with null engineParts
argument.Published by zvirja over 6 years ago
Added option to generate delegates via the mock library for the following integrations:
To enable the feature use new AutoXXXCustomization { GenerateDelegates = true }
.
Additionally, obsoleted the AutoConfiguredXXXCustomization
in favor of AutoXXXCustomization { ConfigureMembers = true }
. That allows to keep only one entry point for each glue library.
Thanks to @blairconrad for the help!
Published by zvirja over 6 years ago
Improved support for the common .NET collection interfaces:
IReadOnlyDictionary<,>
and ISet<>
.Thanks @Kralizek for contribution!
Published by zvirja over 6 years ago
Make customization expression validation more robust (fixes #970).
Published by zvirja almost 7 years ago
A major release of the AutoFixture product.
Refer to the v4.0 Release Notes to find changes compared to the latest v3.
Here is the list of the most important changes since the v4.0.0-rc1:
RangeAttribute
support to handle non-numeric member types (#920, #722)RangeAttribute
usage causes arithmetic OverflowException
(#453)ObjectCreationException
wrapping with full path (#892)RandomRangedNumberCustomization
(#899)ISpecimenBuilderNode
in ISpecimenBuilderTransformation.Transform()
method (#905)InlineAutoDataAttribute
constructor to take argument of the DataAttribute
type (#911)TypeRelay
(#936)ExactTypeSpecification
and remove redundancies (#935)IReadOnlyList<>
interface out of the box (#924)NoDataAnnotationsCustomization
type to the AutoFixture.DataAnnotations
namespace (#957)Published by zvirja about 7 years ago
A major release of the AutoFixture product. Refer to the v4.0 Release Notes wiki page to find the change list.
Published by zvirja about 7 years ago
Add a feature to enable fixed test names for the NUnit3 integration. That allows to run NUnit3 tests that use AutoFixture using VS and NCrunch runners without issues. More detail on feature here (#709, many thanks to @frblondin).
Published by zvirja about 7 years ago
Improve performance if there are multiple fixture customizations in a row (#818).
Published by zvirja about 7 years ago
Published by zvirja about 7 years ago
Improve performance of the fixture customization (#793).
Published by zvirja about 7 years ago
Fix GuardClauseAssertion
returns false positive when applied to abstract methods (#715, thanks to @sergeyshushlyapin).
Published by zvirja over 7 years ago
Fix AutoFakeItEasy
integration fails for abstract classes when using FakeItEasy 2
. (#693, thanks to @blairconrad).
P.S. It's the first release since the Governance Model change 🎉
Published by ploeh about 8 years ago
Automatically populates SortedList<,>
with data.