You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/11/25 13:58:31 UTC
[sling-org-apache-sling-servlets-annotations] branch master
updated: SLING-9930 - test instructions
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-annotations.git
The following commit(s) were added to refs/heads/master by this push:
new d2f7be4 SLING-9930 - test instructions
d2f7be4 is described below
commit d2f7be4f5122806e39fe22a633cb1f9e7ef5ca97
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Nov 25 14:58:18 2020 +0100
SLING-9930 - test instructions
---
src/it/annotations-it/README.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/it/annotations-it/README.md b/src/it/annotations-it/README.md
index 1fc2d1d..eda9f4e 100644
--- a/src/it/annotations-it/README.md
+++ b/src/it/annotations-it/README.md
@@ -1,9 +1,15 @@
Integration tests for the servlets annotations module.
+To run or debug the tests from this folder, use:
+
+ mvn clean verify -Dannotations.bundle.version=VVV
+
+Where VVV is the version of the annotations bundle to test.
+
These could be simplified using a verify script for the
generated annotations, as in the sling-org-apache-sling-adapter-annotations
module.
Also, the ServletRegistrationIT should move to the servlets
resolver module, as it's really testing it and not just
-our annotations.
\ No newline at end of file
+our annotations.