Talk type: Talk

ScalaTest: You're asserting it wrong

  • Talk in English
Presentation pdf

Being arguably the most popular test framework for Scala, ScalaTest offers a lot of nice syntax for expressing assertions in your tests. However, a lot of people who are new to the library end up using just the basic matchers.

In this live coding session we’re going to walk through some of the less known parts of the matchers DSL and see how they can enhance the error messages in your failing tests, and make your assertions sound even more like English than before.

  • #cleancode
  • #scala
  • #testing

Speakers

Talks