Skip to content
SPECIFICTION
Get listed

Eris vs Hypothesis

Eris

github.com

Hypothesis

hypothesis.works

Side by side

FigureErisHypothesis
Price from——
Free plan——
Free trial——
Open source——
Windows—Yes
macOS—Yes
Linux—Yes
Self-hostedYes—
Plans published00
Spec score · Property-Based Testing Tools7.6 (#12)7.4 (#15)

In their own words

Eris

Eris has no write-up on Specifiction yet; its figures are above.

Visit github.com

Hypothesis

Hypothesis is a free property-based testing library for Python. You describe behavior that your code should satisfy, and it generates inputs—including edge cases—to explore whether those properties hold. Strategies let you define and combine the data used in tests. When a failure appears, Hypothesis reports an example and tries to simplify it; failing examples are stored in a local test database for replay in later runs. Tests run as ordinary Python functions within pytest, unittest, nose, or another framework that can run a Python function. Hypothesis is not itself a test runner. By default, it generates 100 random inputs per test, and max_examples controls that count. Rule-based state machines can generate sequences of operations for testing stateful systems and objects. The project supports and tests CPython and PyPy 3.10 and later, and says it regularly works on Linux, macOS, Windows, and Emscripten. Its compatibility policy supports only the newest Hypothesis version; undocumented behavior may change in patch releases.

Visit hypothesis.works