skip to navigation
skip to content

Not Logged In

XmlTestRunner 0.2

XML Test Runner for unittest module (Python 2.7+)

This is a test runner for the unittest module, Python's version of the xUnit framework. The test runner captures the test results in a XML file that is compatible with the XML output of JUnit. Various tools, like continuous integration servers can parse this output.

Sample usage:

import unittest

from xmlrunner import XMLTestRunner

loader = unittest.TestLoader()
tests = loader.discover()
runner = XMLTestRunner()
runner.run(tests)
 
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 0 downloads in the last month