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

New hook: pytest_runtest_logfinish #3101

nicoddemus opened this Issue Jan 10, 2018 · 1 comment


None yet
2 participants

nicoddemus commented Jan 10, 2018

While looking for a solution to #3088, I realize we need a new hook that signals a test item has finished executing.

Without this hook one needs to implement pytest_runtest_logreport and juggle around the various setup, call and teardown reports to infer when a test item has finished running, which is downright problematic as pytest-dev/pytest-xdist#218 shows: there I had to implement a new "event" to signal that a test has been complete, which besides fixing a bug also allows pytest-rerunfailures to work with xdist.


This comment has been minimized.

pytestbot commented Jan 10, 2018 thinks the contributor most likely able to help you is @RonnyPfannschmidt.

nicoddemus added a commit to nicoddemus/pytest that referenced this issue Jan 10, 2018

@nicoddemus nicoddemus closed this Jan 10, 2018

alanbato added a commit to alanbato/pytest that referenced this issue Jan 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment