@pytest.mark.parametrize: Enhancing clarity with "wrapped" parametrized arguments
Jul 1, 2023 · 2 min read · 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) ])...
Join discussion