Join James P White for an in-depth discussion in this video What you need to know, part of Android SDK Unit Testing.
- [Voiceover] This course is designed for software developers who want to build an exercise test on their Android applications using the tools from Google, including the Android SDK and Android Studio. This course builds on your existing Android knowledge. I assume that you understand basic Android development concepts. If you know what each of these terms means and basically know how to use them, activities, intents, services and resources, then you should be ready to work through this course. If you're new to Android though, you can watch the beginning course, Developing Android Apps Essential Training.
I'll be using Android Studio, the free IDE from Google to build and exercise all of my applications and tests. You can download and install Android Studio for free from Google from the website at developer.android.com/tools Android studio is based on the IDE for Java IntelliJ IDEA. If you want to find out more of the specifics of Android Studio itself, take a look at Android Studio Essential Training. As with all Android development, you'll be doing some Java programming.
Android's Java coding standards are based on Java five through seven, and there are some advanced coding styles that I'll be using throughout the course. If you want to learn more about Java, you can watch the beginning course, Java Essential Training, or to learn more about the more advanced concepts including anonymous interfaces and others, watch the course Java Advanced Training. You'll need to install Java on your computer, specifically the Java Developer Kit, or JDK. You can get it from Oracle at java.oracle.com, and regardless of which operating system you're using, you should always just install the latest JDK from Oracle on your computer.
- Why unit test?
- Unit testing tools
- Local testing with JUnit
- Working with JUnit assertions, rules, and categories
- Executing instrumented tests
- Filtering tests
- Testing with UI Automator and other testing tools