mercredi 6 juillet 2016

Unit test outputs per test case are not shown properly in PyCharm

I have some unit tests written in Python using the unittest package. The tests run fine, but when I run them in PyCharm, I have the following problem:

When I click on TestResults on the left menu, it shows all the outputs properly. But when I click on individual test cases, the output is not shown properly. More specifically, at the level corresponding to a test case class, part of the output is shown, but at the level of one specific methods (the ones starting with test in their names), no output is shown at all.

Any idea why this is happening and how I might be able to fix this?

I am using:

PyCharm Community Edition 2016.1.4
Build #PC-145.1504, built on May 25, 2016
JRE: 1.8.0_77-b03 x86
JVM: Java HotSpot(TM) Server VM by Oracle Corporation
Python 2.7 

on Windows.

Aucun commentaire:

Enregistrer un commentaire