python-hyper / python-hyper/h2

Use Hypothesis' stateful testing to test interactions between stacks

Open
#365 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Testing
Dominant language
Python
Stars
1k
Forks
187
PR merge metrics
No merged PRs in 30d

Description

Hypothesis has support for stateful testing: http://hypothesis.readthedocs.io/en/latest/stateful.html

It feels like this would be a good fit for testing the hyper-h2 state machine, and maybe more interactions betweeen multiple client/server instances, although I suspect it's probably non-trivial.

Contributor guide

No contributing guide indexed for this repository

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 reading Hypothesis' stateful testing documentation and reviewing the hyper-h2 state machine and its existing tests. Identify which state transitions and interactions between multiple client/server instances should be modeled. Done means stateful tests cover agreed interactions and reliably expose invalid transitions or regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.