Document how to run tests against NoteDb backend
Change-Id: Ia31dbc610c1e0c99361f62b95d141df1fae1be18
This commit is contained in:
parent
e9d5712961
commit
f8f1e4aac2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user