twisted / twisted/klein

(maybe) put hypothesis back

Open
#588 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
838
Forks
123
Avg merge
7h 58m
Merged PRs (30d)
12

Description

#586 removed hypothesis, but left the door open for re-integrating it if we can address a couple of issues:

  • remove random generation from gating PR CI
    • ideally, run any random stuff in a timed action of some kind, that we can peruse to discover new tests
  • fix the bug in Hyperlink's strategies that generates bogus URLs https://github.com/python-hyper/hyperlink/issues/153
  • reduce the selection of sample data being used so that its doesn't double the amount of time we spend in CI. A little overhead might be worth it for the functionality that Hypothesis is giving us, but not multiple minutes per run.

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 reviewing issue #586 and the linked Hyperlink issue #153, then inspect the PR CI setup and any remaining Hypothesis integration. Done means random generation is separated from gating CI, bogus URL generation is addressed, and sample data no longer adds multiple minutes to each run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.