Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miki725/xunitmerge
Utility for merging multiple XUnit xml reports into a single xml report.
https://github.com/miki725/xunitmerge
Last synced: 3 days ago
JSON representation
Utility for merging multiple XUnit xml reports into a single xml report.
- Host: GitHub
- URL: https://github.com/miki725/xunitmerge
- Owner: miki725
- License: other
- Created: 2014-04-20T19:10:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-03T04:58:42.000Z (6 months ago)
- Last Synced: 2024-12-24T10:40:08.374Z (4 days ago)
- Language: Python
- Size: 10.7 KB
- Stars: 15
- Watchers: 5
- Forks: 13
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.rst
Awesome Lists containing this project
README
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 `_