You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many tests have a core test function, and then many use cases supplied using a pytest fixture, defined as a long list.
Reading and interpreting the components of the list can be difficult, particularly when not readably close to the test function arguments. The semantic connection between the list elements and the test arguments can be lost.
Using a dictionary, although potentially repetitive, could provide a more expressive way to define the test cases. I would like to see this explored on some examples to see if it is a more readable pattern.