Google's fluent assertion library for Java and Android is
Truth. We're happy to announce that we've released
Truth 1.0, which stabilizes our API after years of fine-tuning.
Truth started in 2011 as a Googler's personal open source project. Later, it was donated back to Google and cultivated by the Java Core Libraries team, the people who bring you
Guava.
You might already be familiar with assertion libraries like
Hamcrest and
AssertJ, which provide similar features. We've designed Truth to have a simpler API and more readable failure messages. For example, here's a failure message from AssertJ:
No comments :
Post a Comment
The comments you read and contribute here belong only to the person who posted them. We reserve the right to remove off-topic comments.