First read Gatling contribution guidelines
The Gatling code style follows the Scala Style Guide.
As Gatling uses Scalariform as part of the SBT build, you don’t need to worry about formatting the code :
sbt compile will format the code automatically.
All Gatling tests use ScalaTest.
A few helpers are provided for testing actors or some of Gatling’s APIs:
BaseSpec must be used on every test, as it sets out the structure and commons helpers for Gatling tests
When tests involves Gatling’s
ValidationValues provides helpers that allows to match on the
ActorSupport is meant to be used when Akka actors are to be involved in the test.
ActorSupport relies on Akka’s TestKit (documentation here).