@pytest.mark.parametrize: Enhancing clarity with "wrapped" parametrized arguments
One of the Pytest features I like and use most is @pytest.mark.parametrize. Below is an example of how to use it (from Pytest documentation):
import pytest
@pytest.mark.parametrize("test_input,expected", [
("3+5", 8), ("2+4", 6), ("6*9", 42)
])...
dev.fabioramalho.me2 min read