How to write Junit test cases for webscripts for Alfresco 5.0.1?

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

How to write Junit test cases for webscripts for Alfresco 5.0.1?

I'm writing a DeclarativeWebscript and Unable to write the Junit test cases for it. Kindly guide me how can I proceed for this and got the code coverage in sonar.

Thanks,

Akshat

1 Reply
Advanced II

Re: How to write Junit test cases for webscripts for Alfresco 5.0.1?

I believe you can find a lot of samples in the Alfresco's source code.

Check this out community-edition-old/projects/remote-api/source/test-java at master · Alfresco/community-edition-ol...