typelevel / typelevel/scalacheck

Add ?!= and other methods to simplify creating comparison properties

Open
#322 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.