unplugged-system/external/truth/README.md

34 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[![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-googletruth-5555ff.png?style=flat
[stackoverflow-link]: https://stackoverflow.com/questions/tagged/google-truth