xref: /aosp_15_r20/external/truth/overview.html (revision b3996a89512f34bffd8f9a69f0bc726f1b19016a)
1*b3996a89SAndroid Build Coastguard Worker<body>
2*b3996a89SAndroid Build Coastguard Worker<a href="https://truth.dev" target="_top">Truth</a> is a library for performing assertions in
3*b3996a89SAndroid Build Coastguard Workertests:
4*b3996a89SAndroid Build Coastguard Worker
5*b3996a89SAndroid Build Coastguard Worker<pre>{@code
6*b3996a89SAndroid Build Coastguard WorkerassertThat(notificationText).contains("[email protected]");
7*b3996a89SAndroid Build Coastguard Worker}</pre>
8*b3996a89SAndroid Build Coastguard Worker
9*b3996a89SAndroid Build Coastguard Worker<p>Truth is owned and maintained by the <a href="http://github.com/google/guava"
10*b3996a89SAndroid Build Coastguard Workertarget="_top">Guava</a> team. It is used in the majority of the tests in Google’s own codebase.
11*b3996a89SAndroid Build Coastguard Worker
12*b3996a89SAndroid Build Coastguard Worker<p>For more information, see <a href="https://truth.dev" target="_top">our introduction</a> and
13*b3996a89SAndroid Build Coastguard Workerother docs.
14*b3996a89SAndroid Build Coastguard Worker</body>
15