nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 395 forks source link

Artifact in xml when unittest is skipped on setUpClass() #1091

Open kkorovesis opened 5 years ago

kkorovesis commented 5 years ago

An artifact is created in xml in testcase classname="<nose.suite" when unittest is skipped on setUpClass(). No parser could escape this. <?xml version="1.0" encoding="UTF-8"?><testsuite name="nosetests" tests="1" errors="0" failures="0" skip="1"><testcase classname="&lt;nose.suite" name="ContextSuite context=Amz&gt;:setup" time="0.000"><skipped type="unittest.case.SkipTest" message="..."></skipped><system-out><></system-out></testcase></testsuite>