Document how to run the Gerrit acceptance tests

Change-Id: Ie89f2e228fb693547563783ff33e6fc9b1e0d146
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-02-27 15:18:43 +01:00
parent 932a6601d7
commit 4a3fc3f1be
2 changed files with 23 additions and 0 deletions

View File

@@ -80,6 +80,27 @@ through the web interface:
Testing
-------
[[run-acceptance-tests]]
Running the Acceptance Tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gerrit has a set of integration tests that test the Gerrit daemon via
REST, SSH and the git protocol.
A new review site is created for each test and the Gerrit daemon is
started on that site. When the test has finished the Gerrit daemon is
shutdown.
Since the acceptance tests are too expensive to run every time
Gerrit is built, they are only executed during the Maven verify phase
if the Maven profile `acceptance` is enabled.
To execute the acceptance tests run:
----
mvn clean verify -Pacceptance
----
Running the Daemon
~~~~~~~~~~~~~~~~~~

View File

@@ -142,6 +142,8 @@ and that now the `2.5` release is prepared.
Prepare the Gerrit WAR and the Plugin API Jar
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* link:dev-readme.html#run-acceptance-tests[Run the acceptance tests]
* Create locally a `stable-2.5` branch for making the new release
* Check in the Gerrit parent `pom.xml` that no `SNAPSHOT` version of a