2.2.0
What's new
- The new
Ensure
class adds automatic common case testing such as Json serialization, value equality, value hash code, null/empty/white space strings and more - A new
RecordTester
base class automatically tests records for common cases such as value equality and value hash codes - A
JsonSerializerOptions
property was added to the baseTester
class to help with the newEnsure
class but also to be used for "globally" for a tester class InstanceProvider
grants you the means to automatically create an instance of a tested type in the same way thatTester
andTester<T>
do- A
Clone
extension method onSystem.Object
gives you the means to clone an object for testing purposes usingSystem.Text.Json
first and reflection as a fallback - Added a
Stack<T>
[AutoCustomization]
asAutoFixture
cannot make one by default usingFixture.Create<Stack<T>>()
Leaving soon
Eloquentest 3.0.0 will be more of a tool box to build your own base tester classes and choose your own dependencies. The FixtureProvider
and InstanceProvider
static classes are a step in that direction.