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
20082026
-
…any other generated value ) [1] https://hypothesis.readthedocs.io/en/latest/reference/api.ht... [2] https://github.com/HypothesisWorks/hypothesis/pull/3555
comment by tybug · 2025-04-21 · in Falsify: Hypothesis-Inspired Shrinking for Haskell (2023) -
…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 -
…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 -
…so despite some differences it's not like I was completely alien to the general ideas. [0] https://github.com/HypothesisWorks/hypothesis/issues/3493
comment by epgui · 2024-07-05 · in The sad state of property-based testing libraries -
…(and generative testing altogether, sadly) completely from our python test suite at work. [0] https://github.com/HypothesisWorks/hypothesis/issues/3493
comment by epgui · 2024-07-05 · in The sad state of property-based testing libraries -
▲ 2
Hypothesisstory by tosh · 2024-02-01 · 0 comments
-
…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.
comment by westurner · 2023-11-04 · in Pix2tex: Using a ViT to convert images of equations into LaTeX code -
…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 -
…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 -
…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) -
…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 -
Hypohesis is a tool to do this https://github.com/HypothesisWorks/hypothesis/tree/master/hy...
comment by fnord123 · 2020-12-19 · in Solving Algorithmic Problems in Python with Pytest (2019) -
…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 -
…retrofitting either to an existing project is a lot of work though. 1. http://www.mypy-lang.org/ 2. https://github.com/HypothesisWorks/hypothesis
comment by JNRowe · 2019-10-12 · in Python is not a great programming language -
…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/
comment by pmoriarty · 2019-06-05 · in Solving Programming Puzzles Without Using Your Brain -
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…
comment by simonw · 2017-09-14 · in There Are Only Four Billion Floats, So Test Them All (2014) -
▲ 1
Hypothesis – Haskell QuickCheck Like Testing for Pythonstory by hultner · 2017-05-09 · 0 comments
-
▲ 2
Advanced property-based (QuickCheck-like) testing for Pythonstory by abhirag · 2017-02-09 · 0 comments
-
▲ 3
Advanced property-based (QuickCheck-like) testing for Pythonstory by tosh · 2016-12-24 · 0 comments
-
…(which OSS-Fuzz uses), but it's very powerful nonetheless. [0] http://hypothesis.works/ [1] https://github.com/HypothesisWorks/hypothesis-python
comment by nchammas · 2016-12-01 · in Announcing OSS-Fuzz: Continuous Fuzzing for Open Source Software -
Hypothesis - Property based testing (QuickCheck style) in Python https://github.com/HypothesisWorks/hypothesis-python
comment by tedmiston · 2016-08-03 · in Ask HN: What is the most underrated GitHub repo you found lately? -
…). 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
comment by bryanh · 2016-07-31 · in Barliman: Prototype of a smart text editor -
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