Questions tagged [python-hypothesis]

Hypothesis is a Python library for property-based testing; creating unit tests with pseudo-randomly generated data.

Questions about the testing library Hypothesis:

https://hypothesis.readthedocs.io/en/latest/

182 questions
-2
votes
1 answer

How to measure coverage in Python Hypothesis stateful testing?

I test a certain functionality of a system using Hypothesis Stateful testing which generates many random sequences. In order to compare the results, I have written a model using Automat library which is also a statemachine. I would like to…
Aniket
  • 11
  • 4
-2
votes
1 answer

hypothesis always returns the minimum value

Im making a small test with hypothesis, while considering using it more extensively later. I tried making my test get a param that is integer between 0 and 25. I did the following: from hypothesis import given from hypothesis.strategies import…
NotSoShabby
  • 3,316
  • 9
  • 32
  • 56
1 2 3
12
13