#4495·hypothesis

Ideas for more blog posts

Author: Zac-HDCreated Aug 3, 2025Updated Aug 1, 2026
Labelsenhancementwebsite

https://hypothesis.works is finally deployed from this repo (#2943), which I'm really enjoying. Followups:

It'd also be nice to write more blog posts, although I'll close this issue once the items above are checked off.

  • hypothesis workflows, step by step. Incremental walkthrough of writing your first tests, configuring for local/ci/nightly tests, sense-checks with tyche, and integrated fuzzing with hypofuzz. The goal is to push readers up one level.
  • article on ghostwriter argument-guessing (https://github.com/HypothesisWorks/hypothesis/pull/3313); complete with list and link to online demo https://zhd.dev/ghostwriter/
  • respond to this neat post with an article explaining why most PBT libraries are using the wrong monad! (and what we do differently)
  • article on the "expected result for explicit examples" trick
    python
    @example(x=1, expected=2)
    @example(x=2, expected=sentinel)
    @given(x=st.integers(), expected=st.just(sentinel))
    def test(x, expected):
        result = f(x)
        assert 0 <= x  # whatever properties you want
        if expected is not sentinel:
           assert result == expected  # if we know the exact output, assert that too!

Source: HypothesisWorks/hypothesis