sample-android-testing
Resources for testing Android applications
Unit Testing
Version 1.1 of Android Studio added support unit testing. You can learn more about it here. I recommend using JUnit and Mockito for most unit testing efforts. Here are some resources that you can use to learn about unit testing Android applications.
To Read
- Testing Fundamentals
- Android Unit and Integration Testing
- Unit Testing with JUnit
- Mocks Aren't Stubs
- Learning Android Application Testing
To Watch
Integration Testing
There are a few options available for integration testing however, Robotium is currently the most popular. Here are some resources that you can use to learn about integration testing with Robotium in Android applications.
To Read
- Testing for Android with Robotium
- Creating a Complete Robotium Unit Test
- Ultimate Robotium Link List