when running pytest, I can see each test with its parameters values. eg:
import pytest
@pytest.mark.parametrize("a", [1])
def test_foo(a):
pass
On terminal I can see the value 1:
plugins: metadata-1.8.0, timeout-1.3.3, html-2.0.1
collected 1 item
<Module a_tests.py>
<Function test_foo[1]>
The problem is, that on more complicated value types (like list) pytest hides the value:
import pytest
@pytest.mark.parametrize("a", [[1,2,3]])
def test_foo(a):
pass
plugins: metadata-1.8.0, timeout-1.3.3, html-2.0.1
collected 1 item
<Module a_tests.py>
<Function test_foo[a0]>
How can I see the values of the list?