O'Reilly logo

Scala Test-Driven Development by Gaurav Sood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter was intended to be more hands on. We looked at ScalaTest and how it fits in with other unit testing frameworks for Scala. We also looked at different styles and specs, which ScalaTest provides. Most of the examples and illustrations in this book will be using ScalaTest, so it would be worthwhile to do some more reading on ScalaTest. We also laid the foundation for the problem that we will be looking at throughout the book. We will be adding more complexities to the same problem. We will be looking to create a robust test harness by refactoring our tests at every stage.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required