Phlip, 06.06.2010 19:12:
Here's xmlrunner.py:

  http://www.rittau.org/python/xmlrunner.py

you attach it to your developer tests, and it emits a file called
"TEST-unittest.TestSuite.xml", containing auspicious wackiness like
this:

   <testcase
classname="tests.unit.gateways.authorize_net_tests.AuthorizeNetTests"
name="test_failed_credit" time="0.0017"></testcase>
   <testcase
classname="tests.unit.gateways.authorize_net_tests.AuthorizeNetTests"
name="test_fraudulent_avs_result" time="0.0010"></testcase>
   <testcase
classname="tests.unit.gateways.authorize_net_tests.AuthorizeNetTests"
name="test_fraudulent_cvv_result" time="0.0011"></testcase>

Bump? Anyone reporting on their unit tests here?

I only use XML reporting in combination with the Hudson-CI tool. It parses the output and (amongst other things) reports the results over a serious of builds through its web site. It's also very easy to set up, so maybe that's what you are actually looking for?

Stefan

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to