Hacker GitHub

← All repos

HypothesisWorks/hypothesis

View on GitHub ↗ ★ 9,129 Python

The property-based testing library for Python

23 mentions on Hacker News by 20 people: 4 stories, 19 comments · first 2016-05-29 · latest 2025-04-21

Mentions per year 23 mentions · busiest year 2016 (5)
20082026
  1. …any other generated value ) [1] https://hypothesis.readthedocs.io/en/latest/reference/api.ht... [2] https://github.com/HypothesisWorks/hypothesis/pull/3555
  2. …numeric values, where the only condition is that they must not all be zero simultaneously. [1] [1] https://github.com/HypothesisWorks/hypothesis/issues/3493
    comment by epgui · 2025-01-06 · in Property-Based Testing for the People
  3. …job bringing property-based testing to the people! I've used it and it's extremely powerful. [0]: https://github.com/HypothesisWorks/hypothesis
    comment by tomnicholas1 · 2025-01-06 · in Property-Based Testing for the People
  4. …so despite some differences it's not like I was completely alien to the general ideas. [0] https://github.com/HypothesisWorks/hypothesis/issues/3493
  5. …(and generative testing altogether, sadly) completely from our python test suite at work. [0] https://github.com/HypothesisWorks/hypothesis/issues/3493
  6. ▲ 2
    Hypothesis
    story by tosh · 2024-02-01 · 0 comments
  7. …https://github.com/cleder/awesome-python-testing#property-ba... https://github.com/HypothesisWorks/hypothesis : > Hypothesis is a family of testing libraries which let you write tests parametrized by a source of examples.
  8. …or so), about approaches to shrinking in PBT libraries and their issues, and how the [Hypothesis]( https://github.com/HypothesisWorks/hypothesis ) approach ("internal shrinking") solves those issues yet remains mostly unknown. There's also…
    comment by mjaniczek · 2022-10-25
  9. …had a lot of success combining that approach (cffi instead of ctypes) with property-based testing ( https://github.com/HypothesisWorks/hypothesis ) for the query engine at backtrace: https://engineering.backtrace.io/2020-03-11-how-hard-is-i…
    comment by pkhuong · 2022-02-12 · in Running C unit tests with Pytest
  10. …discovering strategies. [0]: https://hypothesis.readthedocs.io/en/latest/data.html#hypoth... [1]: https://github.com/HypothesisWorks/hypothesis/issues/2693#is... [2]: https://hackage.haskell.org/package/hedgehog#readme
    comment by iso8859-1 · 2021-09-19 · in What is property-based testing? (2016)
  11. …in into Hypothesis (see the issue [2]). [1]: https://news.ycombinator.com/item?id=26018386 [2]: https://github.com/HypothesisWorks/hypothesis/issues/2701 edit: newlines
    comment by mristin · 2021-02-04 · in Effective Property-Based Testing
  12. Hypohesis is a tool to do this https://github.com/HypothesisWorks/hypothesis/tree/master/hy...
  13. …perturbation to find edge cases). As for frameworks in the languages you listed... Ruby and Python: https://github.com/HypothesisWorks/hypothesis Elixir and Erlang: https://github.com/proper-testing/proper Node and JS:…
    comment by jkachmar · 2020-06-21 · in Deno will stop using TypeScript
  14. …retrofitting either to an existing project is a lot of work though. 1. http://www.mypy-lang.org/ 2. https://github.com/HypothesisWorks/hypothesis
  15. …of rolling his own, the author could have just used Python's Hypothesis package.[1][2] [1] - https://github.com/HypothesisWorks/hypothesis [2] - https://pypi.org/project/hypothesis/
  16. If you're interested in this style of testing and use Python, https://github.com/HypothesisWorks/hypothesis-python is a very powerful library that lets you create parametrized tests which will automatically be run against a set of…
  17. ▲ 1
    Hypothesis – Haskell QuickCheck Like Testing for Python
    story by hultner · 2017-05-09 · 0 comments
  18. ▲ 2
    Advanced property-based (QuickCheck-like) testing for Python
    story by abhirag · 2017-02-09 · 0 comments
  19. ▲ 3
    Advanced property-based (QuickCheck-like) testing for Python
    story by tosh · 2016-12-24 · 0 comments
  20. …(which OSS-Fuzz uses), but it's very powerful nonetheless. [0] http://hypothesis.works/ [1] https://github.com/HypothesisWorks/hypothesis-python
  21. Hypothesis - Property based testing (QuickCheck style) in Python https://github.com/HypothesisWorks/hypothesis-python
  22. …). Folks have written (possibly less powerful) implementations in Python ( https://github.com/HypothesisWorks/hypothesis-python ), Javascript ( https://github.com/jsverify/jsverify ), etc. FWIW I've found them fragile and lacking for
  23. Best testing library I've used yet is https://github.com/HypothesisWorks/hypothesis-python . YMMV, of course, but I've always wanted a little more smarts than py.test...
    comment by rcarmo · 2016-05-29 · in Flask 0.11 Released