DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Enable running JUnit tests against a running instance #151

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using a JUnit remote runner https://github.com/Tradeshift/junit-remote
or other similar solutions would be good to have a way to run JUnit (from Maven 
and IDE) to run JUnit tests against a running Alfresco.

See Bindu's tech talk live http://www.youtube.com/watch?v=tRxvpJcW3Yo for an 
idea on how ZIA Implemented this, would be good to have it as part of the SDK.

Obviously depends on hot class reloading features, so on issue 119.

Original issue reported on code.google.com by colum...@gmail.com on 3 Nov 2013 at 2:00

GoogleCodeExporter commented 8 years ago
This is resolved for the AMP and all-in-one by using:

- JRebel
- the -Prad profile to:
   - create the jrebel configuration
   - enable the junit remote runner

A small issue is that the first time the alfresco context is still reloaded 
remotely (with no fatal failures), but after that all the tests work easily

Original comment by colum...@gmail.com on 5 Nov 2013 at 4:42