Has anyone ever tried to test Activiti / BPMN processes using pure CDI? In theory (if I didn't miss anything) I would think it should be possible to use f.ex. cdi-unit for testing processes together with activiti-engine and activiti-cdi. CDI unit internally uses weld-se.
But I couldn't make it work, I think the reason is that Activiti CDI and CDI unit work on different contexts, and I haven't found out how to "join" them (or maybe it's not possible).
Using @Inject on a ProcessEngine in a test annotated with @RunWith(CdiRunner.class) (as in the CDI unit quickstart) didn't "trigger" anything - i.e. Activiti or the ProcessEngine weren't touched.