
# What a build contains

What a build of an application with `spring_boot_starter_test` contains, and when something is not in it. A module that follows a key reads it when `build_runner` runs, from `application.yml` or `application.properties` without a profile (see [Modules left out of the build](../spring-core-dart-generator/optimizations/build-conditions.md)). The modules of the packages it depends on come with it: for `spring_boot_dart`, see [Auto-configuration](../spring-boot-dart/auto-configuration.md).

## Always in

Nothing. `spring_boot_starter_test` is a dev dependency and has no auto-configuration module: no code of it is in an application's build.

## What the generator writes for it

A part of the generator (see [Starter parts](../spring-core-dart-generator/how-it-works.md#starter-parts)) runs only when the application reaches its package.

| Part or builder | What it does |
|---|---|
| Builder `spring_test` | `test/spring_gen/<name>.test.spring.dart` with `runSpringTests()`; only for test files with `@SpringBootTest` or `@DataTest` classes. |
| Through its dependencies | The web part, since the starter depends on `spring_web_dart`. |

## See also

- [Modules left out of the build](../spring-core-dart-generator/optimizations/build-conditions.md)
- [How the generation works: starter parts](../spring-core-dart-generator/how-it-works.md#starter-parts)
- [The builders](../spring-core-dart-generator/builders.md)
