Merge branch 'stable-2.16' into stable-3.0
* stable-2.16:
Documentation: Refactor footer to match with other plugins
Documentation: Refactor to match other plugin documentation
Documentation: Add missing alternative for plugin in-tree testing
Change-Id: Icc1c79061fc2c15ba8bb61f5a6f2d35cd0ce80a0
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 130cc2a..d3805cf 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -66,6 +66,13 @@
bazel-bin/plugins/@PLUGIN@/@PLUGIN@.jar
```
+To execute the tests run either one of:
+
+```
+ bazel test --test_tag_filters=@PLUGIN@ //...
+ bazel test plugins/@PLUGIN@:@PLUGIN@_tests
+```
+
This project can be imported into the Eclipse IDE.
Add the plugin name to the `CUSTOM_PLUGINS` and to the
`CUSTOM_PLUGINS_TEST_DEPS` set in Gerrit core in
@@ -75,11 +82,9 @@
./tools/eclipse/project.py
```
-To execute the tests run:
-
-```
- bazel test plugins/@PLUGIN@:events-log_tests
-```
-
-More information about Buck can be found in the [Gerrit
+More information about Bazel can be found in the [Gerrit
documentation](../../../Documentation/dev-bazel.html).
+
+[Back to @PLUGIN@ documentation index][index]
+
+[index]: index.html