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. …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.
  7. …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
  8. …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
  9. …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)
  10. …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
  11. Hypohesis is a tool to do this https://github.com/HypothesisWorks/hypothesis/tree/master/hy...
  12. …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
  13. …retrofitting either to an existing project is a lot of work though. 1. http://www.mypy-lang.org/ 2. https://github.com/HypothesisWorks/hypothesis
  14. …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/
  15. 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…
  16. …(which OSS-Fuzz uses), but it's very powerful nonetheless. [0] http://hypothesis.works/ [1] https://github.com/HypothesisWorks/hypothesis-python
  17. Hypothesis - Property based testing (QuickCheck style) in Python https://github.com/HypothesisWorks/hypothesis-python
  18. …). 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
  19. 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