truth 0,7,1,1 travis-ci

Assertion/Proposition framework for Java unit tests


We’ve made failure a strategy

Main Site Build Status Maven Release Stackoverflow

What is Truth?

Truth is an assertion/proposition framework appropriate for testing, inspired by FEST, and driven by some extensibility needs, written nearly entirely by Google employees in their spare time or contributing in their capacity as Java core librarians.

Truth can be used in place of JUnit’s assertions, FEST, or Hamcrest’s matchers, or it can be used alongside where other approaches seem more suitable.

The full documentation for Truth is available at its main website


Truth is licensed under the open-source Apache 2.0 license.


Please see the guidelines for contributing before creating pull requests.


Thanks to Github and Travis-CI for having a strong commitment to open-source, and providing us with tools so we can provide others with code. And thanks to Google for Guava, for taking on the Truth project and making it part of their core-libraries effort, and for encouraging us to try to solve problems in better ways and share that with the world.

Also thanks to the authors of JUnit, TestNG, Hamcrest, FEST, and others for creating testing tools that let us write high-quality code, for inspiring this work and for moving the ball forward in the field of automated software testing. This project works with, works alongside, and sometimes works in competition with the above tools, but owes a debt that everyone owes to those gone before. They paved the way, and we hope this contribution is helpful to the field.

Related Repositories



Primary source of truth for the Docker "Official Images" program ...






Assertion/Proposition framework for Java unit tests ...



PHP Test Framework for Freedom, Truth, and Justice ...



Ember HTMLBars Helpers for {{if}} & {{unless}}: not, and, or, eq & is-array ...

Top Contributors

cgruber kluever PeteGillinGoogle cpovirk dsaff torquestomp hagbard cgdecker shicks sameb ronshapiro lowasser vbauer gk5885 benmccann jezmck zeeshanasghar atiasnir buge Strilanc cushon dhomann netdpb eatnumber1 eamonnmcmanus nglorioso lukesandberg nfelt nrook-google tvolkert


-   release_0_30 zip tar
-   release_0_29 zip tar
-   release_0_28 zip tar
-   release_0_27 zip tar
-   release_0_26 zip tar
-   release_0_25 zip tar
-   release_0_24 zip tar
-   release_0_23 zip tar
-   release_0_23_relocat zip tar
-   release_0_22 zip tar
-   release_0_21 zip tar
-   release_0_21_relocat zip tar
-   release_0_20 zip tar
-   release_0_19 zip tar
-   release_0_18 zip tar
-   release_0_17 zip tar
-   release_0_16 zip tar
-   release_0_15 zip tar
-   release_0_13 zip tar
-   release_0_12 zip tar
-   release_0_11 zip tar
-   release_0_10 zip tar
-   release_0_09 zip tar
-   release_0_08 zip tar
-   release_0_07 zip tar
-   release_0_05_beta1 zip tar
-   pre-docs-sync zip tar