For Truth array subjects, include `isEqualTo` tests for both a non-array and an array of an incorrect type. Our existing tests for each type cover at most one of those, sometimes under a test with an incorrect name. RELNOTES=n/a PiperOrigin-RevId: 959231848
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.