typelevel / typelevel/scalacheck

Can't use overrideParameters

Open
#533 0 comments 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

For a while, overrideParameters didn't work. Now that it works, it's a big benefit to users. It's also a convenience to disable shrinking.

Since it's not necessary, a lot of downstream projects don't use org.scalacheck.Properties. So I don't thinkoverrideParameters is available for people writing property tests in frameworks like Scalatest, specs2 or discipline.

So we should probably confirm this, but also document that overrideParameters is only available for direct users of ScalaCheck. I wonder if downstream maintainers should be aware of it, as well.

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

No file or test is named. Start by verifying whether overrideParameters is exposed through org.scalacheck.Properties and whether it is available to property tests using Scalatest, specs2, or discipline. Document the confirmed availability and any implications for downstream maintainers.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.