I share with you a library that allows you to run unit tests without needing to have an active ACS or APS. The mechanism is to use alfresco mock services to reach your implementations such as workflows, webscripts or actions and test them quickly. Simply add the following library, write your own test and run it
<dependency> <groupId>it.vige</groupId> <artifactId>alfresco-tests</artifactId> <version>${acs.version}</version> <scope>test</scope> </dependency>
Here you can find further information
The alfresco-tests library seems like a useful tool for running unit tests without requiring an active ACS or APS. By leveraging mock services, developers can efficiently test their implementations, including workflows, webscripts, and actions. Create your unit tests, focusing on the specific components you want to test (workflows, webscripts, or actions). You can use the mock services provided by the library to simulate interactions with Alfresco services. Execute your tests, and the library will handle the necessary mocking and setup. This approach allows you to validate your code without needing a live ACS or APS instance. Indigo credit card access
<dependency>
<groupId>it.vige</groupId>
<artifactId>alfresco-tests</artifactId>
<version>${acs.version}</version>
<scope>test</scope>
</dependency>
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.