DUnitLite 0.5 released
Version 0.5 of DUnitLite is now available. This is a minor enhancement release.
Download it here: DUnitLite 0.5
What’s new in 0.5
Should.ReferTonow works with interfaces, and can mix and match between objects and interfaces. It also correctly works around the interface reference-equality problem.- Added
Givenas an alias forSpecify. So if you want to document your assumptions at the beginning of your test, you can useGiven.That(...)to improve readability. - Added
Should.[Not.]Be.FalseandShould.[Not.]Be.True. - Added
Should.[Not.]Be.NullandShould.[Not.]Be.Assigned. Both work with either objects or interfaces. - Added
Should.[Not.]Be.GreaterThanOrEqualToandShould.[Not.]Be.LessThanOrEqualTo, as aliases forAtLeastandAtMost.
May 17th, 2010 at 5:32 am
Hi Joe,
compiling DUnitAssertion with D2010 raises the following error
[DCC Fatal Error] ConstraintTests.pas(684): F2051 Unit ConstraintTests was compiled with a different version of Specifications.Should
Do you plan to make your DUnitLite compatible with D2010?
Thank you very much.
Best regards,
Giovanni
May 18th, 2010 at 5:09 pm
I don’t have Delphi 2010, so no, I don’t plan to make DUnitLite support it. Feel free to send me whatever changes might be required — or to post an updated version yourself somewhere, since it’s open-source (I’d be happy to post a link to any updated version).