# build_verify

> Test that generated Dart code is up to date

Source: https://talira.ai/catalog/build-verify-e9f16tvq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / testing](https://talira.ai/categories/developer-tools/testing), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Kevin Moore](https://talira.ai/orgs/kevin-moore.md)

build_verify is a Dart test utility that checks a package's generated code is up to date when it uses [build_runner](https://talira.ai/catalog/build-runner-snjaeg1d.md): add one test that calls `expectBuildClean`, and it fails when running the build would change the files in the git repository, so CI catches generated code someone forgot to regenerate. MIT licensed.

## Links

- GitHub: https://github.com/kevmoo/build_verify

## Problems it solves

- make CI fail when someone forgets to rerun build_runner in my Dart package
- check that generated Dart code is committed and up to date
- catch stale json_serializable output in tests

## Features

- expectBuildClean test that fails when build_runner output is stale
- compares the build's output with the git repository

## Trust

Overall: 0.39 out of 1.
Signals: maintenance 0.67, adoption 0.36, momentum 0.06, community 0.28, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 11 commits in the last 90 days
- 61 GitHub stars
- 4 contributors
- backed by Kevin Moore

## Related

- Works with [build_runner](https://talira.ai/catalog/build-runner-snjaeg1d.md)

## Alternatives

- [source_gen_test](https://talira.ai/catalog/source-gen-test-4rzqxv1g.md): Test Dart code generators built on source_gen by annotating test files

## Sources

[^1]: https://github.com/kevmoo/build_verify/blob/main/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/kevmoo/build_verify (checked 27 Nov 2026)
