I have a problem trying to get camunda junit4 test.
Using this example: https://docs.camunda.org/manual/latest/user-guide/testing/#junit-4
I got this error
IOException parsing XML document from class path resource [activiti.cfg.xml]; nested exception is java.io.FileNotFoundException: class path resource [activiti.cfg.xml] cannot be opened because it does not exist
I assume that it has something to do with me using Spring Boot instead of Spring, but I have no idea what to do to get it to work.
if you use Spring Boot, I recommend to use the engine as a Spring bean instead of using the ProcessEngineRule. The rule actually tries to spawn a new in memory engine based on the configuration xml file. It also seems that you are using some old version, since you are using an activiti.cfg.xml instead of a camunda one.
You can have a look at this sample project to get started with a working test: