Q. Never mind the fluff -- how do I get started?
A. Start with the README : https://github.com/SteveGilham/altcode.test/blob/master/README.md
#????
- Maintenance release to update dependencies and build targets
- Build against net8.0 for deliverables, net10.0 for infrastructure and tests
- Support Expecto ≥ 10.2.3, NUnit ≥ 4.4.0, Xunit ≥ 2.4.2, FSharp.Core ≥ 9.0.303
- support Expecto ≥ 10.1.0, NUnit ≥ 4.0.1, Xunit ≥ 2.9.3, FSharp.Core ≥ 8.0.100
- runtime support driven by the consumed packages
- Expecto support on
net6.0 - NUnit support on
net462andnet6.0 - Xunit support on
netstandard2.0
- Expecto support on
- NUnit support does not rely on the legacy
ClassicAssertassembly
-
[BREAKING] make the
AssertionMatchtype specific to each package to avoid name clashes if multiple test suites are in use -
[BREAKING] remove support for obsolescing Expecto
Expect.floatEqual -
[BREAKING] remove support for obsolescing NUnit
Assert.AreEqual<Nullable<double>>methods -
[BREAKING] rename
AltCode.Test.Xunit.AltAssert.DoesNotAssertionMatch&AssertionMatchestoAltCode.Test.Xunit.AltAssert.DoesNotMatchandMatchesto line up with the methods being shadowed inXunit.Assert -
[BREAKING] in NUnit methods with
...,message, args)correctly declare args as aparams object[]making the methods take variable numbers of arguments -
support
netstandard2.0only (meaning ≥net472compatible) -
various fixes to
Expecto.ExpectandExpecto.Flip.Expectsupport, including Stream subtypes to be passed w/o explicit coercion to base -
various fixes to
Xunit.Assert, including respecting optional arguments and allowing interface subtypes to be passed w/o explicit coercion to base -
support Expecto ≥ 9.0.4, NUnit ≥ 3.13.3, Xunit ≥ 2.4.2, FSharp.Core ≥ 6.0.0
-
new for
Expecto.Expect- equalWithDiffPrinter
- isFasterThan
- isFasterThanSub
- isGreaterThan
- isGreaterThanOrEqual
- isLessThan
- isLessThanOrEqual
where for comparisons,
Actualis what's being tested andExpectedis the benchmark value -
new for
Expecto.Flip.Expect- containsAll
- equalWithDiffPrinter diffPrinter message (x: AssertionMatch<'a>)
- isFasterThan
- isFasterThanSub
- isGreaterThan
- isGreaterThanOrEqual
- isLessThan
- isLessThanOrEqual
-
new for
Expecto.CSharp.Function, typeAltCSharpExpectfor the type-homogenous versions ofIsFasterThan -
new for
NUnit.Framework.Assert- Greater
- GreaterOrEqual
- Less
- LessOrEqual
-
new for
Xunit.Assert- Equal of double with MidpointRounding option
- Equal of double with tolerance option
- Equal of single ditto
- Equivalent
- NotEqual object overloads
- support Expecto 9.x
- support
net47andnetstandard2.0only
altcode.test.nunit-- Fix classic framework supportaltcode.test.xunit-- Fix classic framework support
- [BREAKING]
Match->AssertionMatch altcode.test.expecto-- addExpecto.Flipsupportaltcode.test.nunit-- addDirectoryAssert,FileAssertandStringAssertsupportaltcode.test.xunit-- addAltAssert.Same
- [NEW PACKAGE]
altcode.test.expecto-- named argument helper for Expecto ≥ 8.12.0 - [NEW PACKAGE]
altcode.test.nunit-- named argument helper for NUnit ≥ 3.12.0 - [NEW PACKAGE]
altcode.test.xunit-- named argument helper for Xunit ≥ 2.4.1