ScalaTest Styles
FlatSpec and FunSuite.
What is ScalaTest?
ScalaTest is the most widely used testing framework for Scala. A distinctive feature is that it offers multiple testing styles, letting teams choose the syntax that fits their background.
Adding the Dependency
You add ScalaTest as a test dependency in build.sbt. The % Test scope keeps it out of your production artifact.
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % TestAll lessons in this course
- ScalaTest Styles
- Matchers
- Property-Based Testing
- Mocking and Fixtures