.. 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
