| 1 |
To install subunit |
| 2 |
------------------ |
| 3 |
|
| 4 |
Bootstrap:: |
| 5 |
autoreconf -vi |
| 6 |
Configure:: |
| 7 |
./configure |
| 8 |
Install:: |
| 9 |
make install |
| 10 |
|
| 11 |
Dependencies |
| 12 |
------------ |
| 13 |
|
| 14 |
* Python for the filters |
| 15 |
* 'testtools' (On Debian and Ubuntu systems the 'python-testtools' package, |
| 16 |
the testtools package on pypi, or https://launchpad.net/testtools) for |
| 17 |
the extended test API which permits attachments. Version 0.9.30 or newer is |
| 18 |
required. Of particular note, http://testtools.python-hosting.com/ is not |
| 19 |
the testtools you want. |
| 20 |
* 'testscenarios' (On Debian and Ubuntu systems the 'python-testscenarios' |
| 21 |
package, the 'testscenarios' package on pypi, or |
| 22 |
https://launchpad.net/testscenarios) for running some of the python unit tests. |
| 23 |
* 'fixtures' for running the Python tests |
| 24 |
* 'hypothesis' for running the Python tests. |
| 25 |
* A C compiler for the C bindings |
| 26 |
* Perl for the Perl tools (including subunit-diff) |
| 27 |
* Check to run the subunit test suite. |
| 28 |
* python-gtk2 if you wish to use subunit2gtk |
| 29 |
* python-junitxml if you wish to use subunit2junitxml |
| 30 |
* pkg-config for configure detection of supporting libraries. |
| 31 |
|
| 32 |
Binary packages |
| 33 |
--------------- |
| 34 |
|
| 35 |
A number of distributions now include subunit, you can try via your package |
| 36 |
manager. The authors maintain a personal package archive on Launchpad:: |
| 37 |
https://launchpad.net/~testing-cabal/+archive/archive |