I'm trying to find a way to automatically split and run tests in different docker containers using Maven.

I had a look at the maven-surefire-plugin and saw that it is possible to use the forkCount configuration parameter to specify the number of concurrent JVM processes that will be used to execute the tests. I was wondering if there was a way to run the processes in separate containers (i.e. one JVM process per container).

0 Answers