AuthorJames P White
- 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
Skill Level Intermediate
- [Voiceover] When you're building an app for Android devices, it's important to make sure it works as you intend. A great way to do this is by writing Unit test to ensure that individual components work correctly. I'm Jim White. I've been a software engineer for over 20 years. In this course, I'll introduce you to the benefits of Unit testing using the tools available in the Android SDK. We'll take a look at setting up local tests, and instrumented tests. Then, we'll take a look at some alternative tools, in some cases, tools found outside the SDK.
We'll finish up with a look at mock objects, which are a great way to help isolate the units you want to test. Unit tests help you guarantee that your app stays stable during development, and in the end allow you to deliver better quality apps. So let's get started.
1. Getting Started
2. Local Tests
3. Instrumented Tests
4. Other Android SDK Testing Tools
5. Mocking objects
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.