MUnit: your new favorite Scala testing library?
summary
MUnit positions itself as a fast, cross-platform Scala test framework with a tiny core and only an optional ScalaCheck module, claiming no DSL and a single recommended style. It shows smart code-frame diffs and copy‑pasteable expected values, grays out framework stack frames, supports reusable fixtures as composable values, and manages flaky tests with annotations and CI reporting. Integration uses transforms (value and test transforms) so Cats‑Effect or custom runtimes plug in with a few lines, and tests can be marked expected to fail.
AI-written summary · about
chapters (18)
- 0:00Start
- 1:26Agenda
- 1:43Why Munit Exists
- 2:13Basics
- 3:13Facts about Munit
- 4:18Demo
- 8:25The Design Principles
- 9:00Developer Experience
- 9:27Disclaimer
- 12:49Choosing the Right Verb
- 20:21Transforms
- 22:03Transformers
- 25:34Test Transform
- 27:12Annotate Tests with Main Metadata Metadata
- 28:04Honorable Mention
- 28:59Flaky Test Management
- 30:11Mark Test as Expected To Fail
- 31:05Sky Check Integration
related talks
44mMonads for Testers
32mTestable Compiler Plugin Development in Scala 3
47mEasy Scala Builds with the Mill Build Tool
45mSimpler Scala Builds with Functional and Object-Oriented Programming
52mArchUnit - Unit Testing Architecture and Design
44mA Deep Dive into the Mill Scala Build Tool
52mxUnit Expanded – Better Testing With xUnit
46mTesting in the world of Functional Programming
