February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we are going to refer play-scala-helloworld-app Play Scala-based HelloWorld application available in the Chapter-6 folder from the GitHub repository (https://github.com/rposa-srp-book/srp-book-examples/tree/master/Chapter-6/play-scala-helloworld-app) and write unit tests for its controller.
Perform the following steps to write unit tests for this application:
libraryDependencies ++= Seq(
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)
Here, we have configured the ScalaTest Plus unit testing framework in the Test scope. It provides all the required components to test ...
Read now
Unlock full access