Document how to run tests against NoteDb backend

Change-Id: Ia31dbc610c1e0c99361f62b95d141df1fae1be18
This commit is contained in:
David Ostrovsky 2016-11-15 17:35:59 -08:00 committed by David Ostrovsky
parent e9d5712961
commit f8f1e4aac2
2 changed files with 12 additions and 0 deletions

View File

@ -233,6 +233,12 @@ To run a specific test group, e.g. the rest-account test group:
bazel test //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/account:rest_account
----
To run the tests against NoteDb backend:
----
bazel test --test_env=GERRIT_NOTEDB=READ_WRITE //...
----
== Dependencies
Dependency JARs are normally downloaded as needed, but you can

View File

@ -341,6 +341,12 @@ To create test coverage report:
The HTML report is created in `buck-out/gen/jacoco/code-coverage/index.html`.
To run the tests against NoteDb backend:
----
GERRIT_NOTEDB=READ_WRITE buck test
----
== Dependencies
Dependency JARs are normally downloaded automatically, but Buck can inspect