Unit Testing using Spock Framework for Cucumber Style Testing + Shared Engine Unit Testing: DMN+BPMN

Cross Reference to what looks like a bug:

Current workaround would be to use a env indicator variable in the process and have the resource location of a script change from deployment://file.js to deployment://bpmn/file.js (where this is the folder path (src/test/resources/…)

EDIT: This bug is caused by the deployment annotation supporting classpath resources rather than string resources / classpath resources with names. See the link above for fix.