I wanted to see if it was possible to use TDD with Android application 
development. Thanks to Robotium, I've had great initial success. One of the 
issues I ran into was how to use the camera during my smoke tests. Using 
information learned from the Robtium mailing list, I created a fake camera 
application that will allow you to effectively mock out the camera during 
your tests. I'm quite sure you could apply this pattern to other types of 
Intents as well. The FakeCamera app's source lives 
at https://github.com/bryanl/FakeCamera, and you can see a video 
demonstration of TDD in Android at http://bit.ly/android-tdd-1. I'm looking 
for feedback on my approach and what others might be doing as well.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to