How to auto-run an external program after Pytest completes execution? #9595
-
I've written a Pytest plugin that marks up sections of the output for use by an external program after the test run is over. How can I get Pytest to automatically invoke the external program after it is done? For this use case, I want to run Pytest with my plugin's |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @jeffwright13, Perhaps |
Beta Was this translation helpful? Give feedback.
-
I ended up just calling my own method at the end of the whole test run (end of |
Beta Was this translation helpful? Give feedback.
I ended up just calling my own method at the end of the whole test run (end of
pytest_unconfigure
), which makes a subprocess call to my TUI code. For now I seem to have solved the problem. Thanks for your input everyone. :-)