Gatling and ScalaTest

Hello,

I found discussion
https://github.com/excilys/gatling/issues/1475#issuecomment-27860350

And I was not able to get this work.

Mixing gatling test with scalatest seems very natural for me.

Usages I see:

  • More precisely and with know framework define success criteria, based on scenarios output, introducing stat.js in scala.
  • Reusing traits for integration tests with load, e.g. BeforeAndAfter trait in scalatest, without need to reimplement it for Simulation.
  • Being able to define tests before and after, and this is really Tests.
  • Possible to mix integration tests with load push.

Does it seem overuse of gatling? Does someone already using it in this way?

Regards,
Dmytro

The plan is to be able to use scalatest and others on top of the test framework that’s been done for the sbt plugin.