I currently want my larger simulations in
src/main/scala instead of
src/it/scala
Reading the documentation at http://gatling.io/docs/2.1.6/extensions/sbt_plugin.html I have these two scenarios
Gatling
with basic.BasicExampleSimulationSucceeds in src/main/scala
changing the scalaSource in buildsbt
scalaSource in Gatling := baseDirectory.value / “src/main/scala”
gatling:testOnly basic.BasicExampleSimulationSucceeds
finds and runs the simulation
GatlingIt
with basic.BasicExampleSimulationSucceeds in src/main/scala
changing the scalaSource in build.sbt
scalaSource in GatlingIt := baseDirectory.value / “src/main/scala”
gatling-it:testOnly basic.BasicExampleSimulationSucceeds
cannot find the simulation
in both cases
gatling:scalaSource and gatling-it:scalaSource are set correctly
I’ve tried this with gatling-sbt 2.1.7 and 2.1.5