Document how to run tests against NoteDb backend

Change-Id: Ia31dbc610c1e0c99361f62b95d141df1fae1be18
diff --git a/Documentation/dev-bazel.txt b/Documentation/dev-bazel.txt
index 5cb6ef0..1a7ab7a 100644
--- a/Documentation/dev-bazel.txt
+++ b/Documentation/dev-bazel.txt
@@ -233,6 +233,12 @@
   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
diff --git a/Documentation/dev-buck.txt b/Documentation/dev-buck.txt
index 9deed50..e677ce5 100644
--- a/Documentation/dev-buck.txt
+++ b/Documentation/dev-buck.txt
@@ -341,6 +341,12 @@
 
 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