08 Prepare : Reading
Test-Driven Development
Objectives
Understand how Test-Driven Development works.
Understand how to write unit tests for Android projects.
Introduction
Before meeting with your team for your team activity, please read the following information:
-
Become familiar with unit testing terminology and JUnit by reading sections 1 - 4 of this article.
-
Then look through the official Android developer pages on unit testing. Note that you'll be creating what the documentation calls Local Unit Tests. You don't need to worry about mock objects for this assignment, but it might be good for your future to know what their purpose is.
Reading Quiz
Don't forget to take the Reading Quiz in I-Learn. This quiz can be taken as many times as you like, but you must score at least 90% to pass. If you fail the quiz, review the relevant parts of the reading and try again.
As before, one of the quiz questions is a "deep thought" question whose answer won't come directly from the reading.