Hi,
i´m looking at an example where a Unittest creates a ProcessEngineRule via Spring Configuration like this:
@Rule
public ProcessEngineRule processEngineRule = new ProcessEngineRule("configuration.cfg.xml");
I am, however, not working with Spring but with Spring Boot. So for my application i created a @Configuration in which i override certain Beans to configure the engine to my liking. However, if i use this configuration for my unittests it starts up the entire Spring Context, as opposed to in the example i listed above, where really just the engine is running.
So my “Solution” turned out too big, it really has become more of an integrationtest that fires up the whole application, which is not what i intended.
So my question is: how do I create a ProcessEngineRule similar to the way it would happen from a cfg.xml but in Spring Boot?