Code Monkey home page Code Monkey logo

xunitmerge's Introduction

XUnitMerge

Utility for merging multiple XUnit xml reports into a single xml report.

The primary purpose of this package is to be able to merge XUnit reports generated by nosetests (e.g. nosetests --with-xunit). This is especially useful when nosetests needs to be run multiple times for different parts of a project and then all reports need to be merged to a single report (similar to what coverage combine does with multiple coverage reports).

Installing

You can install xunitmerge using pip:

$ pip install xunitmerge

Or alternatively you can install the development version:

$ pip install xunitmerge==dev

Using

To use the plugin, use an executable xunitmerge which should become available after the installation.. To see it's usage dialog, you can run it with a --help flag:

xunitmerge --help

In summary, you can provide any number of paths of reports to be merged and an output report path:

xunitmerge report1.xml report2.xml report3.xml merged.xml

You can also use it directly in Python:

from xunitmerge import merge_xunit

merge_xunit(files=['report1.xml', 'report2.xml'], output='merged.xml)

Running tests

You can run tests for this package by using nose:

$ nosetests --with-doctest

Credits

Miroslav Shubernetskiy - GitHub

xunitmerge's People

Contributors

miki725 avatar graingert avatar thp avatar wayjam avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.