~/talk

Async Testing on the JVM and Scala.js

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [testing]
slides:none on file

ScalaTest 3.0 implements non‑blocking tests that return Future[Assertion] (Assertion is a type alias for the Succeeded singleton), adds Async suite traits (e.g. AsyncFunSuite), and changes withFixture to use FutureOutcome so cleanup can wait via a new completeLastly helper. It ships a default serial execution context* that serializes async maps and deliberately blocks on the JVM (JS cannot block), introduces recoverToExceptionIf/recoverToSucceededIf for async exceptions, and is available as RC1 after a year of JVM↔JS porting.

AI-written summary · about

  1. 0:00Start
  2. 4:33Reasons for Blocking Your Tests
  3. 34:07Questions
  4. 36:00Parallel Test Execution
  5. 38:14Implicit Execution Context
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.