Smooth your .NET TDD experience with NFluent! NFluent is an ergonomic assertion library which aims to fluent your .NET TDD experience (based on simple Check.That() assertion statements). NFluent aims your tests to be fluent to write (with a super-duper-happy 'dot' auto-completion experience), fluent to read (i.e. as close as possible to plain English expression), but also fluent to troubleshoot, in a less-error-prone way comparing to the classical .NET test frameworks. NFluent is also directly inspired by the awesome Java FEST Fluent assertion/reflection library (http://fest.easytesting.org/)
Apache License 2.0
310
stars
53
forks
source link
LastsLessThan fails with incorrect message when negated #275
The message given by LastsLessThan is invalid when the check is negated.
Expected Behavior
Provide error message including expected and actual duration.
Current Behavior
Error messages does not contain actual duration.
Code that reproduce the issue
Context
This error was identified thanks to mutation testing while reviewing survivors. Mutation testing was done thanks to Stryker.net.