Programming, Python, Property Based Testing, Software Testing, Python Programming.
defines a broad range of “strategies” we can use to generate test cases. We have used some of them before (e.g., st.integers()). The most basic ones are booleans, integers, floats, text. Let’s write a dummy test checking the generated inputs indeed match our expectations: @given(i=st.integers(),