Specs2, from starters to dessert and... a look in the kitchen.
summary
Covers concrete features and tradeoffs: data tables using | and ! operators that compile with aligned cells, command-line control of ScalaCheck parameters and per-example overrides (min tests, generators), custom matters that produce clearer failure messages, concurrency by default with a sequential/isolated option, runtime-created specs implemented as a monadic flatMap on a stream of fragments, HTML docs that embed executable code snippets, and implementation notes about a macro using -Yrangepos plus a tiny streaming/fold reporter framework and the maintenance cost of reimplementing FP primitives.
AI-written summary · about
chapters (36)
- 0:00Intro
- 0:38Writing tests
- 2:54Auto examples
- 8:03Matter
- 10:32Concurrent
- 11:36Sequential
- 12:31HTML Reports
- 13:36Notifiers
- 14:25Workflow
- 15:44Tags
- 16:51Specification structure
- 18:00Inspect
- 20:06Main Concepts
- 21:36Functions
- 22:35String Interpolation
- 23:46String Interpolation in Scala
- 24:13Y Range Pass
- 25:06Heuristic
- 25:40Skytrak properties
- 27:41matters
- 28:44execution
- 29:26specification
- 31:42reporting
- 32:38side effects
- 32:57streaming library
- 33:27the fold
- 34:34what am I using
- 35:42quiz
- 36:02flatmap
- 36:57selection
- 37:17mutable
- 39:44isolated
- 40:52user guides
- 41:24topics page
- 41:34main ideas
- 41:48questions








