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 ...

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.