Skip to content

Website improvements #4495

@Zac-HD

Description

@Zac-HD

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 (Ghostwrite for many more names #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
    @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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementit's not broken, but we want it to be betterwebsitewebsite content, design, and ops

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions