As a small part of a much larger set of tests, I have a set of test functions that I want to use for each of the list of objects. Basically, I have a set of plugins and a set of "plugin tests."
Naively, I can just make a list of test functions that take a plugin argument, and a list of plugins, and I have a test where I name all the previous ones on all the latter. But ideally, each test / plugin command will appear as an individual test in the results.
Is there a more convenient / standardized way to do something like this in pytest?
source
share