blob: dc3bf48770263774fa9fda76000a10a1c9076d57 [file] [log] [blame] [view] [edit]
[![Main Site][gh-pages-shield]][gh-pages-link]
[![Build Status][ci-shield]][ci-link]
[![Maven Release][maven-shield]][maven-link]
[![Stackoverflow][stackoverflow-shield]][stackoverflow-link]
## What is Truth?
Truth makes your [test assertions] and [failure messages] more readable.
[Similar][comparison] to [AssertJ], it [natively supports][known_types] many JDK
and [Guava] types, and it is [extensible][extension] to others.
Truth is owned and maintained by the [Guava] team. It is used in the majority
of the tests in Googles own codebase.
Read more at [the main website](https://truth.dev).
<!-- references -->
[test assertions]: https://truth.dev/benefits#readable-assertions
[failure messages]: https://truth.dev/benefits#readable-messages
[comparison]: https://truth.dev/comparison
[AssertJ]: http://joel-costigliola.github.io/assertj/
[known_types]: https://truth.dev/known_types
[extension]: https://truth.dev/extension
[Guava]: https://github.com/google/guava
[gh-pages-shield]: https://img.shields.io/badge/main%20site-truth.dev-ff55ff.png?style=flat
[gh-pages-link]: https://truth.dev/
[ci-shield]: https://github.com/google/truth/workflows/CI/badge.svg?branch=master
[ci-link]: https://github.com/google/truth/actions
[maven-shield]: https://img.shields.io/maven-central/v/com.google.truth/truth.png
[maven-link]: https://search.maven.org/artifact/com.google.truth/truth
[stackoverflow-shield]: https://img.shields.io/badge/stackoverflow-google‐truth-5555ff.png?style=flat
[stackoverflow-link]: https://stackoverflow.com/questions/tagged/google-truth