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