I want to completely custom tests results output.
In unittest I can implement my own test runner by example of unittest.TextTestRunner. How can I do the same in pytest?
You'll need to work with pytest hooks:
py.test calls hook functions to implement initialization, running, test execution and reporting.
Also see:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With