Skip to content

London Scala Talks: Gabriele Petronella and Jacob Wang

Photo of
Hosted By
Zainab A.

Details

Come along to another round of London Scala Talks! This month, we’re hearing from Gabriele Petronella and Jacob Wang.

Gabriele Petronella: MUnit: your new favorite Scala testing library?

MUnit is a testing library for Scala built. “Another one?!”, you may say? In this talk we’ll explore
together the most notable features of MUnit and see what makes this
little library unique!

Via a series of live code examples, we’ll answers questions like “Why
does MUnit not have a DSL?”, “How do we integrate MUnit with other
libraries?” and “How can MUnit help dealing with flaky tests?”.

At the end the presentation, MUnit may become your new favorite testing library!

Jacob Wang: Time-warping in tests with Cats Effect

How do you test time‑sensitive application logic? In this talk, we will explore what lives under `ExecutionContext` and `cats.effect.Timer` and how these abstractions allow us “warp” forward in time. Armed with our new knowledge, we will then look at how time‑sensitive tests are structured to make them fast and reliable.

This talk uses cats-effect in its examples but a lot of the concepts are shared across all effect libraries in Scala, so if you use ZIO or even just plain Scala Futures, you too can learn the secrets behind time-warping and perform the magic yourself :)

Agenda
17:45 - Welcome: join us virtually on YouTube
18:00 - Gabriele Petronella: MUnit: your new favorite Scala testing library?
18:45 - Jacob Wang: Time-warping in tests with Cats Effect
19:30 - Catch up and discuss in SpatialChat at https://spatial.chat/s/londonscala

Read more on https://www.lsug.co.uk/meetups/2021-03-04

View the intro deck at https://docs.google.com/presentation/d/1ZYEAVN5gOHuZrA6mYSPkz6Q9IwdYeffJIuoreSw62vw/edit?usp=sharing

Join at https://www.youtube.com/watch?v=54We1w7oftE

This event is sponsored by Virtus Lab (https://virtuslab.com/contact/).
Virtus Lab is working closely with EPFL and the Scala Center to ready the Scala 3 compiler, Metals IDE, Scaladoc and other tools for release this year. If you're working with Scala, and you're excited, intrigued, concerned or underprepared for Scala3, then please reach out to us for a chat, and mention LSUG!

Online event
This event has passed