Lines Matching +full:- +full:- +full:xml +full:- +full:pretty
1 python-junit-xml
3 .. image:: https://travis-ci.org/kyrus/python-junit-xml.png?branch=master
6 -----
8 A Python module for creating JUnit XML test result documents that can be
11 pretty graphs and test reporting capabilities, this module will let you
12 generate the XML test reports.
14 *As there is no definitive Jenkins JUnit XSD that I could find, the XML
16 searches and the Jenkins JUnit XML reader source code. File a bug if
21 ------------
27 pip install junit-xml
29 easy_install junit-xml
35 git clone https://github.com/kyrus/python-junit-xml.git
39 -----
43 .. code-block:: python
49 # pretty printing is on by default but can be disabled using prettyprint=False
54 .. code-block:: xml
56 <?xml version="1.0" ?>
60 <system-out>
62 </system-out>
63 <system-err>
65 </system-err>
70 Writing XML to a file:
72 .. code-block:: python
74 # you can also write the XML to a file and not pretty print it
75 with open('output.xml', 'w') as f:
81 stripped from the XML string or file.
84 -----------------
93 -----------------------
98 4. Verify the new version was uploaded at https://pypi.org/project/junit-xml/#history