A set of Truth assertions geared toward testing Android.
Writing tests is not the most glamorous part of developing an Android application but it is an invaluable one. Using libraries like JUnit and Truth provide a great starting point for writing tests.
This library is an extension of Truth which aims to make it even easier to test Android.
Check the website for usage and installation instructions.
A huge thanks to Google for their work on Truth which provides the foundation for this project.
Additionally, a huge thanks to Square for their work on Assertj Android, the inspiration for this library. A large amount of code has been copied or modified from the Assertj Android project.
Truth has a dependency on Guava, so using Truth Android will add a significant number of methods to your test APK.
Snapshots of the development version are available in Sonatype's snapshots
repository.
Copyright 2016 PKWARE, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.