cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Testing with Alfresco Web-Scripts

kirit
Champ on-the-rise
Champ on-the-rise
Hi,

We are doing Unit testing using JUnit framework for alfresco REST web-scripts(Alfresco version: 3.4.6) and following the approach mentioned in wiki (http://wiki.alfresco.com/wiki/3.0_Web_Scripts_Testing)
With this approach server is pointing to the current alfresco repository data, we need a approach where we do not have any dependency on alfresco repository so no actual data will be modified

We are trying mocking option with Mockito, need your suggestions if in any one has tried such tools for mocking the services in alfresco.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Yes some of the unit tests for Alfresco use Mockito.