Repository navigation
Cyrille DUPUYDAUBY edited this page Jul 20, 2019
·
15 revisions
Therefore error messages are now in line with what was expected
Foreword: several breaking changes have been introduced that may trigger build error in your custom extensions if you have made any. Methods and types have been renamed, so your code will have to refer the new names. IF YOU ENCOUNTER ISSUES AND NEED ASSISTANCE, please open an issue, we will assist you ASAP.
- All lambda/code specific interfaces (ICodeCheck...) and classes have been removed. NFluent now uses the standard interfaces and types (i.e. Check)
- ICheckLogic.DefineExpectedValues now expects an generic IEnumerable instead of a plain IEnumerable
- you can use ICheckLogic.DefinePossibleTypes if you need to have a list of possible types for the sut (displayed in the error message)
- improved naming: ICheckLogic.DefineExpectedValues has been renamed DefinePossibleValues
- checks helper (ICheckLogic) now correctly reports the fundamental error instead of a detail error. In previous version, the error messages could focus on details, e.g. report the exception's message when the issue is the exception's type.
- add a flag (boolean) to BuildCheckLinkWhich method (allows to provide subitem check) that allows to speciyf sub item is available.
- #225, #291, #292, #295, #296, #297, #299, #302
- Welcome
- How to start
- Customising error messages
-
Check.That
- All (Equality, Type)
- Reference types
- Members based
- IEnumerable (Properties, Content, Elements)
- String (Properties, Content, RegExp )
- Numeric Type(Properties, Comparisons, Floating)
- Dictionary
- Char (Properties, Value)
- IComparable
- DateTime
- DateTimeOffset
- Misc: Boolean, TimeSpan, Stream, Enum, EventWaitHandle
- Check.ThatCode
- Check.ThatDynamic
- Extensibility
- Auxiliary types (TimeUnit)
- Mocks