--- you can reply above this line ---

New issue 239: not collect deselected tests
https://bitbucket.org/hpk42/pytest/issue/239/not-collect-deselected-tests

Anonymous:

Some tests can be generating multiple tests through 
```@pytest.mark.parametrize()``` or ```metafunc.parametrize```, however if 
those tests are marked and specified not to run (through ```-m "not marker"``` 
command line argument) they are still collected first and then are deselected.

In my specific case, one of ```@pytest.mark.parametrize()``` is generating 
around 500 tests - only to be deselected afterwards. This makes a long test 
even longer.

Suggestion: to add an option **not to generate (or not to collect)** tests that 
are not required.

Thanks!

Responsible: hpk42
--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to