Documentation: Fix plugin testing for standalone and in-tree
Add alternative for plugin in-tree testing and replace standalone with
standard way of running bazel test.
Change-Id: I7d406599f4dbf494af0581d489921ddbb5a7bcad
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 6a18e01..e68e4bb 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -27,7 +27,7 @@
To execute the tests run:
```
- bazel test verify-status_tests
+ bazel test //...
```
### Build in Gerrit tree
@@ -61,10 +61,11 @@
./tools/eclipse/project_bzl.py
```
-To execute the tests run:
+To execute the tests run either one of:
```
- bazel test plugins/verify-status:verify-status_tests
+ bazel test --test_tag_filters=@PLUGIN@ //...
+ bazel test plugins/@PLUGIN@:@PLUGIN@_tests
```
How to build the Gerrit Plugin API is described in the [Gerrit