078: Ten Testing Strategies with Michael Bailey

In this episode, Donn sits down with fellow Android GDE, Michael Bailey to cover 10 testing strategies to help you get your application under test and to make sure your testing environment is top notch. They start off with the basics and then progress further down the testing rabbit hole eventually covering topics like cloud-based testing labs, hermetic testing and much much more. This episode will help provide you with a blueprint of how to get your Android app under test and get you to a level where you can develop your app with confidence.

Download

The Ten Tips

  1. Use Espresso for functional/integration testing
  2. Mock data and API endpoints to keep tests hermetic
  3. Utilize JUnit JVM Tests and patterns for a fast dev cycle
  4. Utilize a git branching strategy and utilize pull requests (PR’s) for code reviews
  5. Use CI to run the tests and provide constant feedback
  6. Speed up testing and ease of testing with shell helpers and helper classes for testing
  7. Cloud Testing Services
  8. Mutation Testing
  9. Thoughts on code coverage & value based testing
  10. Don’t let flaky tests linger

Show Notes

Contact

077: Chatting ADB with Genymotion’s Eyal Lezmy

Today on Fragmented, we talk to Eyal Lezmy. Eyal works as an Android developer for Genymotion. While working for Genymotion he had to deal with the Android Debug Bridge a whole bunch, so in this episode we dive into the details of ADB, some super slick commands and in general just get a better understanding of this tool we use every single day.

Download directly

Show Notes

Helpful commands

# input some text from your keyboard
adb shell input text "keyboard text"
# download database file
# see http://stackoverflow.com/questions/18471780/android-adb-retrieve-database-using-run-as
adb exec-out run-as package.name cat databases/file > file
# run-as mentioned in episode
adb shell "run-as package.name chmod 666 /data/data/package.name/databases/file"

Sponsors

Contact

076: Taming the activity lifecycle with Kristin Marsicano

In this episode Kaushik talks to Kristin of the Big Nerd Ranch. You would think that the Android lifecycle is pretty standard and basic stuff, but as Kristin begins to unpack the nuances of the Android lifecycle, we learn there’s a world of details that’s easy to miss. Listen on, to get an ironclad grip on the Activity lifecycle.

Download directly

Show Notes

Sponsors

Contact

074: Ben Oberkfell talks Fingerprint API

It’s almost a given these days that most phones will have Fingerprint APIs. But how does the hardware actually work? How does the Software work? How does an Android developer make use of these APIs? Ben Oberkfell breaks it down for us in great detail. Listen on!

Download

Show Notes

Sponsors

Contact

Transcript

Donn Felker: Kaushik, I forget: do you have a Nexus 6P or a Pixel?

Kaushik Gopal: I have a Pixel.

DF: Really? Do you like it?

KG: Oh, I love it.

DF: Where’s the fingerprint scanner on that? Is it on the back or the front?

KG: It’s on the back, exactly like the 6P’s.

Continue reading 074: Ben Oberkfell talks Fingerprint API

072: App Shortcuts with Andrew Orobator

In this episode, we talk to Android developer Andrew Orobator. He gives us the lowdown on the new feature App Shortcuts that was introduced in Android. We talk about static and dynamic shortcuts, use cases for other shortcuts and how to implement them for your app. We also cover what the feature lacks and things to watch out for, while implementing them. Listen on!

Fragmented also has spanking new music from the super talented Blueprint: you can find out more at info@printmatic.net.

Download directly

Show Notes

Andrew’s Medium posts

Misc

Sponsors

Contact

Continue reading 072: App Shortcuts with Andrew Orobator