Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constrained-generators: introduce tools for controlling test case distribution #4339

Merged
merged 2 commits into from
May 23, 2024

Conversation

MaximilianAlgehed
Copy link
Collaborator

@MaximilianAlgehed MaximilianAlgehed commented May 20, 2024

Description

  • branchW to weight branches in caseOn
  • (derived combinator) chooseSpec for making a weighted choice between two generators

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@MaximilianAlgehed MaximilianAlgehed force-pushed the PR-constrained-distributions branch 4 times, most recently from 23168e2 to 1875e60 Compare May 20, 2024 13:35
@MaximilianAlgehed
Copy link
Collaborator Author

@Soupstraw amy clue why this is failing?

distribution

- `branchW` to weight branches in `caseOn`
- (derived combinator) `chooseSpec` for making a weighted choice between two generators
@MaximilianAlgehed MaximilianAlgehed merged commit db1bc03 into master May 23, 2024
125 checks passed
@MaximilianAlgehed MaximilianAlgehed deleted the PR-constrained-distributions branch May 23, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants