The Unfinished Symphonies of TDD for Android
The Unfinished Symphonies of TDD for Android
About the Bundle
There's just something about TDD for Android that has attracted some of TDD's most well-respected practitioners to it to try to write books on the subject. Unfortunately, neither book seems destined to be completed. We can't explain this phenomenon; we can only apologize.
Matteo Vaccari, Carlo Belletini, and J. B. Rainsberger invite you to enjoy The Unfinished Symphonies of TDD for Android: two perspectives on how to practise TDD for Android. If people can enjoy the unfinished symphonies of great composers, then why not us?!
Compare and contrast. Enjoy both points of view. It's like working with us all on the same team and occasionally watching us argue about how to design something. (We've actually had some of these arguments in real life. We enjoyed them immensely.) Since we almost never get the chance to work together, presenting this bundle of books to you is the next-best thing for us.
I know that you'd rather we simply finished the books, and you should never say "never", but instead of doing that, we humbly suggest that if you add the two partial books together, you get somewhere around 1.3 whole books. That's not such a bad deal for the price we're offering, is it?
Responsible Design for Android
Part 1: Dancing with the SDK
Join J. B. Rainsberger as he uses the principles of responsible design to build his first application for the Android platform. How does an advocate and teacher of evolutionary design and test-driven development approach an environment like Android? How does he explore the framework without becoming consumed by it? How exactly does one "do TDD" in Android? If you have these questions, then read this series, because they answer them.
In part 1 of the series (that was never meant to be), J. B. uses all his best tricks to explore the Android SDK without letting it swallow his code whole. You will find this useful especially if you have never built an Android application before.
You will see how the sausage is made. There is a lot of code. A lot.
Please note that as of January 1, 2015, I have finally admitted that I am almost certainly never going to finish this book. If you purchase this book now, then please understand although it is only about 75% completed, I do not intend to finish it. I would have to rewrite it almost entirely, and I don't expect ever to do that. (I have, however, planned a video training course to supplement it. You might just find a surprise in a future version of this book.)
@jbrains just finished reading "Responsible Design for Android" and loved it! I'm encouraged to build something using what I've learned.— Jason Reid (@jason_a_reid) November 11, 2013
Some people prefer browsing the code in an IDE, rather than reading code listings in a book. No problem: I've tagged every important snapshot of the code in a git repository hosted at github, so you can pick any snapshot of the book and browse that exact version of the codebase in seconds.
(While the book remains in draft mode, you'll probably find it easiest to read as a PDF, because it's really hard to make code samples look good in narrow formats. If you want to read the other formats, I recommend Landscape mode with single-column text. I'll figure out what to do when it comes time to pretty things up.)
This book lays the foundation for responsible design in Android application development. In subsequent books, J. B. will apply the patterns he's discovered here to ship more features. Read along and refine your understand of how to build a sustainable, extensible Android app.
I'm continuing to enjoy the Android book, keep it up! Reading your thought process for each decision and how you list possible tests and decide which ones to write has been valuable for me. I'll want to re-read those parts later to try and synthesize lessons
TDD for Android
Time-tested tricks to do Test-Driven Development well
Updating your app frequently and safely... add new features quickly ... sleep well at night... these are the promises of Test-Driven Development. But it's not easy to do TDD in Android. Sometimes it looks like the framework and the testing libraries conspire against you! In this book we'll see how to get a big productivity boost without wasting too much time on complicated testing libraries or frequent reloading of the test code on the device.
We'll see how to write tests effectively, from the point of view of a programmer (not a tester!) We'll see which test to write and which ones not to write. We'll learn age-old techniques of TDD and software design that will help you in mobile development in general, not just with native Android. Above all, we'll learn how to make TDD fun!!!
I've worked through the book as it exists so far and am really impressed! Even as is, it explains the concepts beautifully and the examples build nicely and are non-trivial, yet clearly presented. — Michael Mee
If you are a student, or unemployed, or for some other reason you find it difficult to buy the book, contact the authors. We'll let you have it for free.
The Leanpub Unconditional, No Risk, 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms