Checks for sub par use pattern
dupdob opened this issue · 0 comments
dupdob commented
Some people tends to rely on a limited subset of checks and/or perform condition checks in test code, such as
Check.That( result == 5).IsTrue(); // instead of Check.That(result).IsEqualTo(5);
Check.That(result >= 0).IsTrue(); // instead of Check. That(result).IsPositiveOrZero();
Expected Behavior
NFluent should provide hints when it recognise an anti pattern.