Add an "exactlyOneOf" matcher
Open
package:matcher
type-enhancement
- Dominant language
- Dart
- Stars
- 536
- Forks
- 232
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 10
Description
Sometimes it's useful to say that exactly one of a set of matchers matches. We should have a matcher that supports this.
Contributor guide
Research direction
Start by reviewing the existing matcher API and matcher tests to understand how a matcher accepting a set of matchers is specified. Define completion as having an exactlyOneOf matcher whose result is true only when exactly one supplied matcher matches, with tests covering the relevant match counts.
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