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.
Bug: Issue 12096
Change-Id: I1a88d7bc9cb7ac948b0ecaf8fc8db06811755f1c
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 65935ad..6274c76 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -62,7 +62,7 @@
To execute the tests run:
```
- bazel test @PLUGIN@_tests
+ bazel test //...
```
This project can be imported into the Eclipse IDE:
@@ -108,9 +108,10 @@
bazel-bin/plugins/javamelody/javamelody-deps_deploy.jar
```
-To execute the tests run:
+To execute the tests run either one of:
```
+ bazel test --test_tag_filters=@PLUGIN@ //...
bazel test plugins/@PLUGIN@:@PLUGIN@_tests
```