AnsweredAssumed Answered

Unit Test activiti process without Spring RunWith & Autowiring

Question asked by mansi on Nov 14, 2016
Latest reply on Nov 24, 2016 by anilmann

I have a simple process with one service task.
The service task delegate is created as Spring bean in activiti configuration.

Currently I an unit testing it as under:

@ContextConfiguration(locations = {"/activiti.cfg.xml"})
public class ActivitiWorkflowTest {

    IdentityService identityService;

Is there a way to test such processes without using Spring? I mean the RunWith and Autowiring?