Documentation: Refactor to match other plugin documentation
Move in-tree testing section before eclipse-related section for
consistency across other plugins and also to match standalone case.
Change-Id: Ia2bb0b374e36aebe9b251f6653964312194b8d96
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index e68e4bb..8232067 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -45,6 +45,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. List the plugin in the
custom plugin list, in `gerrit/tools/bzl/plugins.bzl`:
@@ -61,12 +68,5 @@
./tools/eclipse/project_bzl.py
```
-To execute the tests run either one of:
-
-```
- bazel test --test_tag_filters=@PLUGIN@ //...
- bazel test plugins/@PLUGIN@:@PLUGIN@_tests
-```
-
How to build the Gerrit Plugin API is described in the [Gerrit
documentation](../../../Documentation/dev-bazel.html#_extension_and_plugin_api_jar_files).