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: I21958953ce7bebd81eb39daebd9138b67b1bc470
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md index 045e540..10bdbbc 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,12 +82,5 @@ ./tools/eclipse/project.py ``` -To execute the tests run either one of: - -``` - bazel test --test_tag_filters=@PLUGIN@ //... - bazel test plugins/@PLUGIN@:@PLUGIN@_tests -``` - More information about Buck can be found in the [Gerrit documentation](../../../Documentation/dev-bazel.html).