Get help with testing, discuss unit testing strategies etc.


Post by bclinton »

When I run my tests using Phantom.js and report-format=JSON, I get a json file with information about every assertion regardless of the result of that assertion.

When I run my tests using Phantom.js and report-format=JUnit, I get an xml file with information about every test, but no information about the assertions within those tests unless those assertions fail.

Is this working as designed?

Post by nickolay »

Yes, JUnit format only includes information about failed assertions.

Post Reply