From 3c8a8cc6181b7496b40a456502545c26f43dd7e8 Mon Sep 17 00:00:00 2001 From: Gilles Date: Mon, 16 Oct 2023 15:49:57 +0200 Subject: [PATCH] Update TestingBundles.md - fix typos Thi commit fixes the bnd goal name and few smaller language improvements. --- src/site/markdown/TestingBundles.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/site/markdown/TestingBundles.md b/src/site/markdown/TestingBundles.md index f8fb483577..47141cde79 100644 --- a/src/site/markdown/TestingBundles.md +++ b/src/site/markdown/TestingBundles.md @@ -51,7 +51,7 @@ that require an OSGi Framework running and is executed in the integration-test p There are two ways to use this: 1. You use the `eclipse-test-plugin` packaging, and with those your plugin must only contain test-classes and they will be executed automatically as part -of the integration-test phase of your build. This aproach is not recommended for new designs. +of the integration-test phase of your build. This approach is not recommended for new designs. 2. You use `eclipse-plugin` packaging and configure an additional execution of the `tycho-surefire-plugin:plugin-test` goal with either a test-source folder (see below), alternatively using the [standard maven layout](https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html). @@ -81,7 +81,7 @@ A sample snippet looks like this: ``` -To execute the tests, one has to invoke maven with `mvn verify`, the following demo projects are provided as an example: +To execute the tests, one must invoke maven with `mvn verify`, the following demo projects are provided as an example: - Project with a configured source folder as a standalone project similar to the discouraged `eclipse-test-plugin` packaging: https://github.com/eclipse-tycho/tycho/tree/master/demo/testing/tycho/standalone @@ -91,7 +91,7 @@ https://github.com/eclipse-tycho/tycho/tree/master/demo/testing/tycho/samemodule ### bnd-testing The [tycho-surefire-plugin](https://tycho.eclipseprojects.io/doc/master/tycho-surefire-plugin/plugin-info.html) has also support for [bnd-testing](https://bnd.bndtools.org/chapters/310-testing.html), -this is similar to `plugin-test` but uses the BND testing framework. There is currently no JDT/PDE equivalent but this integrates nicely with the [OSGi Testing Support](https://github.com/osgi/osgi-test) and allows to execute prebuild test-bundles. +this is like `plugin-test` but uses the BND testing framework. There is currently no JDT/PDE equivalent but this integrates nicely with the [OSGi Testing Support](https://github.com/osgi/osgi-test) and allows to execute prebuild test-bundles. A sample snippet looks like this: @@ -109,7 +109,7 @@ A sample snippet looks like this: execute-integration-tests - bnd-test-test + bnd-test verify @@ -130,4 +130,4 @@ to automatically inject services: ### combining different approaches -### setup test source folders in eclipse \ No newline at end of file +### setup test source folders in eclipse