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
?
As described in "Writing plugins" section of pytest documentation, you'll need to work with pytest
hooks:
pytest
implements all aspects of configuration, collection, running and reporting by calling well specified hooks of the following plugins:
Also see: