I am trying to setup gatling but it refuses to compile in test - compiles fine in src/main/scala. My build sbt is:
import Dependencies._
import sbt.enablePlugins
lazy val root = (project in file("."))
.settings(
organization := "com.wd.perftool",
name := "portal-integration-test",
version := "0.0.1-SNAPSHOT",
scalaVersion := "2.13.4",
libraryDependencies ++= core,
libraryDependencies ++= gatling,
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
).enablePlugins(GatlingPlugin)
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-target:jvm-1.8",
"-language:implicitConversions",
"-language:higherKinds",
"-language:postfixOps",
"-feature",
"-Xfatal-warnings"
)
I declare gatling dependency as follows:
val gatling = Seq(
“io.gatling” % “gatling-test-framework” % GatlingVersion % “test,it”,
“io.gatling.highcharts” % “gatling-charts-highcharts” % GatlingVersion % “test,it”
)
with gatling version as:
val GatlingVersion = “3.5.1”
Any suggestions are welcome