I see that there were changes from 6.0 to 8.0 involving renaming AssertionOption methods #2414, but then at some point AssertionOptions got deleted (it's still around in 7.0). How would one migrate this code to version 8. I'm trying to have this logic apply to every unit test not do it on a situational basis.
AssertionOptions.AssertEquivalencyUsing(options =>
options.Using<DateTime>(ctx => ctx.Subject.Should().BeCloseTo(ctx.Expectation, precision: TimeSpan.FromSeconds(1)))
.WhenTypeIs<DateTime>());
I see that there were changes from 6.0 to 8.0 involving renaming
AssertionOptionmethods #2414, but then at some pointAssertionOptionsgot deleted (it's still around in 7.0). How would one migrate this code to version 8. I'm trying to have this logic apply to every unit test not do it on a situational basis.