# Scala Level 11: Build & Testing

> Level 11: Build & Testing of the LoWisa Scala course: SBT, Testing, Package and Module Design. 3 lessons and 9 ideas, each explained in one line.

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

## 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

- **Before:** [Level 10: JVM Interoperability](/courses/scala/level-10-jvm-interoperability/): Java Interop, Runtime Behaviour, Mixed JVM Systems.
- **Next:** [Level 12: Performance & Production](/courses/scala/level-12-performance-and-production/): JVM Performance, Functional Allocation Trade-Offs, Production Scala Design.

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](/help/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.

---

Source: https://lowisa.dev/courses/scala/level-11-build-and-testing/ · Updated 2026-11-30
