summaryrefslogtreecommitdiff
path: root/doc/source/developing.rst
blob: 81d4cf5f20a152453f1049240232c50c6c7e6cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.. include:: ../../CONTRIBUTING.rst

Running tests
=============

Running tests for git-review means running a local copy of Gerrit to
check that git-review interacts correctly with it. This requires the
following:

* a Java Runtime Environment on the machine to run tests on

* Internet access to download the ``gerrit.war`` file, or a locally
  cached copy (it needs to be located in a ``.gerrit`` directory at the
  top level of the git-review project)

To run git-review integration tests, use nox. For example, to test against
Python 3::

    nox -s tests