
Recent tox releases have put us on a config treadmill. Avoid these issues entirely by using nox. Nox is a tox alternative that uses standard tools like pip and should be simpler to use for us. Change-Id: Ie79845bbed7ca1254aec466bd5219186fefcdac9
20 lines
561 B
ReStructuredText
20 lines
561 B
ReStructuredText
.. 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
|