Chapter 2. First Test-Driven Application

In this chapter, we will cover TDD fundamentals and practices in further detail. We had a brief taster of TDD in the first chapter. This chapter will delve into the more intricate details of TDD. From now on, the book will become more hands on rather than just a textual tome. To keep things simple and to maintain a logical flow, we will be building on the same problem throughout the book. In each chapter, we will add more requirements and make the problem more complicated.

The topics we will explore in this chapter are:

  • Testing frameworks
  • ScalaTest
  • Problem statement
  • IDE
  • Implementation

Testing frameworks

A testing framework is used for the automated testing of software. It is primarily a collection of postulations, ...

Get Scala Test-Driven Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.