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
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...
Hey anybody googling for the same question.
Alfresco has changed their github projects, here is a concrete implementation : https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/test/java/org/alfresc...
Feel free to navigate and see other examples in the repo
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.