Metadata-Version: 1.1
Name: shoobx.junitxml
Version: 0.2.1
Summary: A zope.testrunner output formatter & feature to output JUnit XML.
Home-page: http://pypi.python.org/pypi/shoobx.junitxml
Author: Shoobx, Inc. and Martin Aspelli
Author-email: dev@shoobx.com
License: ZPL 2.1
Description: Introduction
        ============
        
        .. image:: https://travis-ci.org/Shoobx/shoobx.junitxml.png?branch=master
           :target: https://travis-ci.org/Shoobx/shoobx.junitxml
        
        .. image:: https://coveralls.io/repos/github/Shoobx/shoobx.junitxml/badge.svg?branch=master
           :target: https://coveralls.io/github/Shoobx/shoobx.junitxml?branch=master
        
        .. image:: https://img.shields.io/pypi/v/shoobx.junitxml.svg
           :target: https://pypi.python.org/pypi/shoobx.junitxml
        
        .. image:: https://img.shields.io/pypi/pyversions/shoobx.junitxml.svg
           :target: https://pypi.python.org/pypi/shoobx.junitxml/
        
        .. image:: https://api.codeclimate.com/v1/badges/e87bfa9e26534e0a0c87/maintainability
           :target: https://codeclimate.com/github/Shoobx/shoobx.junitxml/maintainability
           :alt: Maintainability
        
        This package provides a `zope.testrunner` feature that stores the test
        results in a JUnit-compatible XML file. This file can be consumed by
        Jenkins and other tools to generate test reports.
        
        This is achieved by implementing a custom output formatter that
        collects and then writes out the XML file. The formatter then
        delegates further test result tracking to the oriignal output formatter.
        
        The core code of this package is based on the excellent work by Martin
        Aspelli and the Plone Foundation. Thus the code is released under ZPL
        2.1, the original license of `collective.xmltestreport`.
        
        
        Usage
        =====
        
        In order to install your own features, you have to customize the main
        `Runner` class a bit. Here is what we do at Shoobx:
        
        ::
        
          from shoobx.junitxml import feature
          feature.JUnitXMLSupport.install_options()
        
          class Runner(zope.testrunner.runner.Runner):
        
              def configure(self):
                  super(Runner, self).configure()
                  self.features.append(feature.JUnitXMLSupport())
        
          zope.testrunner.runner.Runner = Runner
        
        
        
        Code repository
        ===============
        
        https://github.com/shoobx/shoobx.junitxml
        
        Changelog
        =========
        
        
        0.2.1 (2020-12-03)
        ------------------
        
        - Support for latest zope.testrunner and other latest dependencies
        - Added missing stderr and stdout params to test_failure and test_error
          methods of XMLOutputFormattingWrapper
          (prevented xml report file generation in zope.testrunner >= 5.1)
        - dropped support for python 2, updated support for 3.X
        
        
        0.2.0 (2018-10-10)
        ------------------
        
        - Add support for Python 3.7
        
        - Add support for the latest `zope.testrunner`, which switches from `optparse`
          to `argparse`.
        
        
        0.1.4 (2018-03-30)
        ------------------
        
        - Record doctest cases in modules where test cases are defined,
          instead of putting them all in 'doctest' module.
        
        
        0.1.3 (2018-02-09)
        ------------------
        
        - Bugfix: When test failure has binary data, record a Base64 representation of
          the failure
        
        
        0.1.2 (2018-02-07)
        ------------------
        
        - Python 3 bugfix
        
        
        0.1.1 (2017-10-03)
        ------------------
        
        - Added some basic tests.
        
        - Official Python 3.6 support.
        
        
        0.1.0 (2017-10-03)
        ------------------
        
        * Initial release
        
Keywords: jenkins junit xml zope.testing
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
