Skip to content

Commit

Permalink
docs: docstrings and readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
weiwei committed Feb 11, 2019
1 parent 980cbbc commit 6ba3a1f
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ target/
*.pyproj
*.sln
.vscode/
.idea/

# Virtual env
venv/
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog

## [Unreleased]
### Added
- More docstrings

## [1.3.1] - 2019-02-11
### Fixed
- Install with --no-binary

## [1.3.0] - 2019-02-11
### Fixed
Expand Down
12 changes: 8 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ Why junitparser?
----------------

* Functionality. There are various JUnit/xUnit XML libraries, some does
parsing, some does XML generation, some does manipulation. This module tries
to do most functions in a single package.
parsing, some does XML generation, some does manipulation. This module does
all in a single package.
* Extensibility. JUnit/xUnit is hardly a standardized format. The base format
is somewhat universally agreed with, but beyond that, there could be "custom"
elements and attributes. junitparser aims to support them all, by
monkeypatching and subclassing some base classes.
allowing the user to monkeypatch and subclass some base classes.
* Pythonic. You can manipulate test cases and suites in a pythonic way.

Installation
Expand All @@ -45,6 +45,9 @@ Installation
Usage
-----

You should be relatively familiar with the Junit XML format. If not, run
``pydoc`` on the exposed classes and functions to see how it's structured.

Create Junit XML format reports from scratch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -222,7 +225,8 @@ Notes
-----
There are some other packages providing similar functionalities. They are
out there for a longer time, but might not be as fun as junitparser:
out there for a longer time, but might not be as feature-rich or fun as
junitparser:
* xunitparser_: Read JUnit/XUnit XML files and map them to Python objects
* xunitgen_: Generate xUnit.xml files
Expand Down
Loading

0 comments on commit 6ba3a1f

Please sign in to comment.