[ 
https://issues.apache.org/jira/browse/SLING-9930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239306#comment-17239306
 ] 

Bertrand Delacretaz commented on SLING-9930:
--------------------------------------------

My understanding is that the OSGi DS 1.4 Component Property Type annotations 
are used by the {{bnd-maven-plugin}} so to test them realistically we need to 
build a test bundle.

Now that we switched to Pax Exam there might be a way to do that without using 
a separate pom, using {{bundle.build(withBnd())}} ? I haven't test that so far.

> Move sling-servlets-annotations-it tests to sling-servlets-annotations module
> -----------------------------------------------------------------------------
>
>                 Key: SLING-9930
>                 URL: https://issues.apache.org/jira/browse/SLING-9930
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>    Affects Versions: Sling Servlet Annotations 1.2.4
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Sling Servlet Annotations 1.2.6
>
>
> Having the ITs in a different Git repository creates a slower feedback loop 
> and makes the tests less visible.
> As recently done for 
> [https://github.com/apache/sling-org-apache-sling-adapter-annotations], I'll 
> move the integration tests to the sling-servlets-annotations module using 
> maven-invoker-plugin.
> I'll use the [{{PaxExamServer}}-based 
> tests|https://github.com/apache/sling-org-apache-sling-servlets-annotations-it/tree/SLING-9929]
>  for that as they are stabler than the ones from the current {{master}} 
> branch (where the Sling startup sometimes fail in testing).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to