Popularity
7.2
Declining
Activity
7.7
Growing
2,152
108
224

Description

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.

Code Quality Rank: L3
Programming language: Java
Tags: Testing    

Truth alternatives and similar libraries

Based on the "Testing" category

Do you think we are missing an alternative of Truth or a related project?

Add another 'Testing' Library

README

Main Site Build Status Maven Release Stackoverflow

What is Truth?

Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.

Truth is owned and maintained by the Guava team. It is used in the majority of the tests in Google’s own codebase.

Read more at the main website.

<!-- references -->