Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While grouping it also consider tests which are skipped & result of that is uneven groups #15

Open
rajeev-ranjan7 opened this issue May 30, 2019 · 2 comments

Comments

@rajeev-ranjan7
Copy link

Since grouping does not factor in that there will be some tests which will get skipped and due to that when grouping happened, one group will have 2 tests run and others will have 10 tests run. So overall test execution time gets impacted and maybe more with more number of groups.

@yoram-s
Copy link

yoram-s commented Jun 12, 2019

I think the solution should be to add the following, so the collection hook will be executed after the filtering was applied

@pytest.hookimpl(trylast=True)
def pytest_collection_modifyitems(session, config, items):

@JulienGout
Copy link

+1 , since this is a real show stopper for using this plugin in our project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants