How to optimize Grails build and testing speed?

What are the methods to improve the time spent on a Grails project to create and conduct unit tests? For example, does Grails have the equivalent of the Maven 3 parallel build function?

I am currently using Grails to build my application (not Gradle, etc.), Spock tests run by Jenkins. I found a script for parallelizing unit and integration tests , but I'm looking for more.

Here are some related issues:

UPDATE:

+6
source share
1 answer

Take a look at the plugin below for grails. This will allow you to run test cases on partitions that may also be parallel. https://github.com/adrianbk/grails-partition-tests

This usage example can be (the same general and in the link)

grails test partition-test "--split=1" "--totalSplits=1" --verbose --echoOut --stacktrace 

split indicate which partition to run and totalSplits sets the total number of partitions.

0
source

All Articles