I'm using Python's unittest
module for unit testing.
I'd like to be able to report informational messages as part of the unit test output—other than pass/fail status. Specifically in my case, I want to report whether the module under test is using the pure Python implementation or the C extension.
Is there a mechanism in unittest
to output informational messages as part of the test report? Can it be done in alternative Python unit test frameworks?