O'Reilly logo
  • Chris Kang thinks this is interesting:



Cover of Python Testing with pytest


This is a string in single or double quote where the values are names separated by command. Here, here is only one string value for the 1st argument, but there could be more (eg. 'task1,task2'. These names are name of the variables used in the test case method itself. These are variable names for which the values provided in the 2nd argument will be assigned. Evey time the parameterized() is called to substitue "task" variable in the test case, the associated value will be one of value in the 2nd argument.