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

Chapter 9. Miscellaneous and Emerging Trends in Scala TDD

We just skimmed the surface of the testing technologies and processes in the previous chapters. If you are or have been a developer for some time now, you would agree that no one technology or process is best. There are always refinements and something better coming up. Let's briefly touch on some of the bits that may be useful in future. In this chapter, we will be covering the following:

  • Scala Futures and Promises
  • Inside trait
  • Option values
  • Either values
  • Eventually and integration patience
  • Consumer-Driven Contracts

Scala Futures and Promises

Futures in Scala are an extension of Futures in Java. They allow us to execute multiple tasks in parallel in a very efficient and non-blocking manner. Just ...

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