Add testing instructions to docs

This commit is contained in:
Lubomír Sedlář 2016-08-02 17:41:56 +02:00 committed by Mike McLean
parent 104078594b
commit 0fff54cff3

View file

@ -647,3 +647,22 @@ own koji fork and then send an email to koji-devel@lists.fedoraproject.org
requesting review. This approach is one step short of a PR, making it easy to
upgrade to a PR once the changes are ready.
Unit Tests
==========
Koji comes with a small test suite, that you should always run when making
changes to the code. To do so, just enter ``make test`` into your terminal.
You will need to install following packages to actually run the tests.
* ``findutils``
* ``postgresql-python``
* ``pyOpenSSL``
* ``python-coverage``
* ``python-krbV``
* ``python-mock``
* ``python-simplejson``
* ``python-urlgrabber``
Please note that it is currently not possible to use *virtualenv* when hacking
on Koji.