You’ve been learning how to create a fully working Scala application that connects to a database, processes data asynchronously, and exposes an HTTP API. Your application must include tests to check that it behaves as expected, implements its business requirements correctly, and prevents the introduction of bugs with future code changes. This lesson completes the picture by introducing you to the basics of writing tests in Scala. You’ll write tests using a popular library called ScalaTest, and you’ll run them using sbt. After writing and running your first test, you’ll learn how to test code that runs asynchronously. In the capstone, you’ll write tests for your quiz application to check the correctness of its business logic.