forked from tpierrain/NFluent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReleaseNoteContentToBeInsertedWithinNuspecFile.txt
17 lines (16 loc) · 1.25 KB
/
ReleaseNoteContentToBeInsertedWithinNuspecFile.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
New feature(s):
* Numbers: introduce IsPositiveOrZero() check.
* Numbers: introduce IsNegativeOrZero() check.
--------------
Change(s):
* Numbers: introduce IsStrictlyPositive() as a substitute for IsPositive() which is now obsolete.
* Numbers: introduce IsStrictlyNegative() as a substitute for IsNegative() which is now obsolete.
* Numbers: introduce IsStrictlyGreaterThan() as a substitute for IsGreaterThan() which is now obsolete.
* Numbers: introduce IsStrictlyLessThan() as a substitute for IsLessThan() which is now obsolete.
* Improve error messages (consistency and relevance).
* Check.ThatCode(...).Throws<T>() now requires T to be an exception. This restriction ensures only Exceptions are proposed in autocompletion.
* Simplify the way you can extend NFluent by adding your own checks. Now, you can call: var checker = ExtensibilityHelper.ExtractChecker(check); at the beginning of your check extension method, and then rely on its ExecuteCheck() or BuildMessage() helper methods to do the job. Note: the Checker is part of the NFluent.Extensibility namespace.
--------------
Bug Fixe(s):
* Fix the inversion between expected and actual error message for the .WithMessage checks on exception.
* Fix the issue with null value on Check.That(...).IsBefore(...).