Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
184 stars 113 forks source link

Enable running JUnit tests against a running instance #151

Closed mindthegab closed 10 years ago

mindthegab commented 10 years ago

From colum...@gmail.com on November 03, 2013 09:00:22

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: http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=151

mindthegab commented 10 years ago

From colum...@gmail.com on November 05, 2013 08:42:35

This is resolved for the AMP and all-in-one by using:

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

Status: Fixed