typelevel / typelevel/scalacheck
Add ?!= and other methods to simplify creating comparison properties
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 2k
- Forks
- 393
- Avg merge
- 6h 42m
- Merged PRs (30d)
- 4
Description
Currently ?= and =? exist to easily create a property that checks two values.
It would be great if ?!=, ?>, ?>=, ?<, ?<= also existed in the library as my team has written custom methods to make these comparisons.
Any objections to submitting a diff?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing ?= and =? property helpers in the ScalaCheck source and any tests covering them. Add matching support for ?!=, ?>, ?>=, ?<, and ?<=, then verify that the new comparison properties behave consistently with the existing helpers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100