You may want to run brokers and workers inside other JVMs (this is actually the most frequent setup for Majordodo).
In order to run embedded brokers and workers you can use the majordodo-embeeded project.
Note that when running in embedded mode there is a special in-JVM client which implements the same API of the HTTP-based client but talks to the broker without using the network.
Embedded workers usually will talk to the (single) embedded broker using in-JVM comunication, so unit tests will not use the network at all (embeddable artifacts are the most common way to develop unit tests).
If you are going to work in Embedded mode you have to put this dependencies on your classpath
In order to get startedusing the embedded mode see see Majordodo Embedded example
Updated less than a minute ago