Hi Stephen,
Thanks for providing your code. I really like the idea. Some thoughts on your questions:
Sounds like a good approach. Maybe it is possible to enable writing steps in Nashorn javascript. Then people can use use your template with very little pure Java knowledge. You could also provide a separate library with common step definitions, for example one that sets up a Mock REST endpoint or similar.
There is already a community extension in the BDD area, see GitHub - camunda-community-hub/camunda-bpm-jbehave: camunda BPM community extension providing support for JBehave testing framework.
I haven’t got much to say here. Just be aware that making multiple REST requests (one for deployment, x for migrations) means that the process will not be atomic anymore.
Here as well, it could be nice to publish these scripts as a separate Maven artifact that people can depend on.
Cheers,
Thorben