0

Is there a way of getting the result of an individual test case? I want to log the name of each test case and if it passed or not. I do not want to spend time writing into the log for every single test case, so I would like something like that in tearDown.

tshepang
  • 12,111
  • 21
  • 91
  • 136
Vintage
  • 238
  • 1
  • 2
  • 13
  • 1
    You might be able to get that info just by enabling verbose output: http://stackoverflow.com/questions/1322575/what-numbers-can-you-pass-as-verbosity-in-running-python-unit-test-suites – Jayanth Koushik Apr 11 '14 at 10:17
  • Thank you! That's the answer. – Vintage Apr 11 '14 at 10:30
  • Actually wait.. they are just displayed as a text.. how do I get an array of the results per each test? I could dig through the implementation, but it's quite cumbersome. – Vintage Apr 11 '14 at 11:07

0 Answers0