03-13-2024 05:43 AM
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
04-15-2024 04:24 AM
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>
Explore our Alfresco products with the links below. Use labels to filter content by product module.