Skipping Gatling tests in Maven build


I’ve just tried to build a project with gatling tests in it, with the -Dmaven.test.skip=true and -DskipTests properties, but tests are still executed.

I’ve looked in the gatling maven plugin and could not find anything for skipping the execution of the tests.

Here’s my question: can we add an option to skip tests ?


Yep, sure! Raise an issue.

Use -Dgatling.skip and not -Dgatling.test.skip as documented under