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

Bertrand Delacretaz commented on SLING-1981:
--------------------------------------------

At revision 1073407 the sample runs server-side tests as part of the Maven 
build.

Some tests fail by design as some of the testbundle tests fail all the time or 
randomly, to verify that failures are correctly reported - will need to find a 
way to handle that better in the Maven build, or maybe have the tests pass by 
default with a way of failing them manually.

> Create a sample that demonstrates our testing tools and techniques
> ------------------------------------------------------------------
>
>                 Key: SLING-1981
>                 URL: https://issues.apache.org/jira/browse/SLING-1981
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> Although our Launchpad tests can be used as examples of how to test Sling 
> applications, we should create a much simpler sample project that 
> demonstrates the following testing tools and techniques:
> 1) Start a Sling instance and wait for it to be ready
> 2) Run simple HTTP integration tests against that instance
> 3) Run server-side JUnit tests using @TestReference to access OSGi services 
> (SLING-1963)
> 4) Run server-side scriptable tests (SLING-1963)
> The tests should run in the integration-tests phase of the Maven build.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to