Add isBefore & isAfter matchers for testing Comparable implementations
Open
package:matcher
type-enhancement
- Dominant language
- Dart
- Stars
- 536
- Forks
- 232
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 10
Description
This avoids issues with overloading the existing `lessThan` `greaterThan` etc matchers which rely on `==` and `<` operators.
Contributor guide
Research direction
Start by locating the existing lessThan and greaterThan matchers and the tests covering them. Define the expected behavior for isBefore and isAfter with Comparable implementations, then add coverage showing the new matchers avoid reliance on == and < operators.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100