Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Async Testing on the JVM and Scala.js

Scala Days Conferences via YouTube

Overview

Explore asynchronous testing techniques for JVM and Scala.js in this 44-minute conference talk from Scala Days Berlin 2016. Dive into ScalaTest 3.0's new async testing styles, where tests return Future[Assertion] instead of blocking until completion. Learn how to map assertions onto futures and understand the non-blocking mindset required for effective async testing. Discover the integration of async testing into ScalaTest, the motivations behind design decisions, and best practices for both JVM and Scala.js environments. Cover topics such as the three rules of async testing, JavaScript bug handling, implementation details, and the use of Inspectors in ScalaTest. Gain insights into Execution Context, AppBreaking Changes, and participate in a Q&A session to deepen your understanding of this crucial testing approach.

Syllabus

Introduction
The three rules
The JavaScript bug
Scala test implementation
The impedance mismatch
Inspectors in scale tests
Puzzle
Execution Context
Override App
Breaking Changes
Questions

Taught by

Scala Days Conferences

Reviews

Start your review of Async Testing on the JVM and Scala.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.