Scala course

Scala Level 11: Build & Testing

Build & Testing is level 11 of 13 of the LoWisa Scala course. It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

Updated 2026-11-30

SBT

  • sbt basics. sbt is Scala’s build tool: settings as Scala code, incremental compilation, an interactive shell.
  • Multi-module builds. Projects split into modules with declared dependencies: boundaries the build enforces.
  • Dependencies. Dependencies declare versions sbt resolves: with eviction reports when libraries disagree.

Testing

  • munit and ScalaTest. Scala tests with munit or ScalaTest: assertions and fixtures, run per build.
  • Property-based testing. ScalaCheck generates inputs against stated properties: laws, not examples.
  • Testing pure code. A pure core makes tests trivial: data in, data out, no mocks in sight.

Package and Module Design

  • Packages. Packages organise code and control visibility: private[billing] scopes to a subsystem.
  • API discipline. Library APIs export the minimum: every public name a promise, versioned semantically.
  • Binary compatibility. Scala libraries track binary compatibility: checked by tooling before release, not discovered after.

Before and after this level

In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See Checkpoints and flashcards.

Frequently asked questions

What does Scala Level 11: Build & Testing cover?

SBT, Testing, Package and Module Design: 3 lessons and 9 ideas.

What should I know before this level?

The level before it, Level 10: JVM Interoperability, which covers Java Interop, Runtime Behaviour, Mixed JVM Systems.

Learn Scala on your phone

The first level is free. LoWisa is on Google Play and the App Store.