File: developing.rst

package info (click to toggle)
git-review 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 468 kB
  • sloc: python: 2,722; makefile: 150
file content (19 lines) | stat: -rw-r--r-- 561 bytes parent folder | download
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