Grab this slides: slides.com/cheukting_ho/hypothesis-dataframe
import pytest
@pytest.mark.parametrize("s", ["", "something", "12345"])
def test_decode_inverts_encode(s):
assert decode(encode(s)) == s
from hypothesis import given
from hypothesis.strategies import text
@given(text())
def test_decode_inverts_encode(s):
assert decode(encode(s)) == s
entry point to modify the test
generating test data