pytest-messenger
pytest-messenger copied to clipboard
Show reruns on the report if pytest-rerunfailures is installed
If someone is using this plugin and the pytest-rerunfailures, it would be nice that it show up
https://github.com/pytest-dev/pytest-rerunfailures
@caiolopes What kind of info do you expect to show up ?
@LaserPhaser the amount of reruns or even better, the amount of tests which passed but required reruns (flaky tests).
What do you think?
Good Idea, I will see how to implement it in a few days.
@LaserPhaser I already implemented in a internal modified version of pytest-slack in a project.
I couldn't use pytest-slack directly because I just wanted flaky tests notifications only.
But the logic is almost the same, I just need to check if pytest-rerun is installed.
Can I open a PR?
Sure. It's opensource :) You just make some soft better and submit PR - that's how it works