[TIP] REG: Changing standard test discovery
nicoddemus at gmail.com
Wed May 16 08:24:22 PDT 2018
There's the `testpaths` variable that might be useful, otherwise I'm sure
you can cook something yourself using some hooks, specially
Hope this helps,
On Wed, May 16, 2018 at 11:52 AM arun kali raja <arunsep886 at gmail.com>
> The pytest page on changing test discovery
> <https://docs.pytest.org/en/latest/example/pythoncollection.html> has
> information on how to ignoring a set of paths/testcases.
> I want to do something reverse.. I have organised the tests in multiple
> folders in terms of the codeArea they cover.
> If the user triggers tests of codeArea say 'X', i have some identified
> codeAreas 'Y' and 'Z' whose tests should also be executed.
> How to achieve this in pytest?
> Arun kaliraja.B
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python