Building a testable circuit
During Android application writing, we may use the internal testing framework to write instrumentation tests. With them, we can check the behavior of an application at all levels of the Android stack, including user interface stress tests. However, in our UDOO projects, we make use of Android to interact with the onboard microcontroller to control and collect data from physical devices. When we have a good features coverage through tests in our Android application, and when it matches all our requirements, it's more likely that our first problems will be related to hardware faults and anomalies.
Note
In this book, we will not cover the Android unit testing framework because it's not required to make your first steps in hardware prototyping. However, bear in mind that you should learn how to write Android tests because it's a must to improve the quality of your software. You can find more information in the official documentation at http://developer.android.com/training...