4 ms·
No need for test_context, we can add an optional argument to functions marked with test.
by matklad 3y ago
No need for test_context, we can add an optional argument to functions marked with test.
- epage 3y agoThat depends. Do you want the dynamically generated tests reported in discover? If so, then you need to assume that if you pass in the reference that it will only be used for dynamically generating tests and not for helping with skipping of tests or other use cases.