Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractVerb<T extends AbstractVerb<T>>
Deprecated.
Instead of subclassing
AbstractVerb , subclass CustomSubjectBuilder .
CustomSubjectBuilder is the new way of defining custom that() methods, and it
doesn't require you to write boilerplate to store and propagate the failure message. |
Modifier and Type | Class and Description |
---|---|
class |
Expect
A
TestRule that batches up all failures encountered during a test, and reports them all
together at the end. |
class |
StandardSubjectBuilder
In a fluent assertion chain, an object with which you can do any of the following:
Set an optional message with
StandardSubjectBuilder.withMessage(java.lang.String) . |
class |
TestVerb
Deprecated.
Instead of subclassing
TestVerb , subclass CustomSubjectBuilder .
CustomSubjectBuilder is the new way of defining custom that() methods, and it
doesn't require you to write boilerplate to store and propagate the failure message. |
Copyright © 2017. All rights reserved.