007: Jake Wharton on Testing, SqlBrite, NotRxAndroid, RxJava and Much More

In the final part of this two-part segment, we continue our talk with Jake Wharton. We dive right into the topic of testing. Jake then talks about his approach to testing apps in Android and the different languages that he finds interesting. We then move on to RxJava, NotRxAndroid, SqlBrite and many other libraries and topics to round out this great second episode. Again, we’d love to thank Jake for joining us here on the Fragmented Podcast show; it has been an honor. We hope you enjoy it as much as we did.

Download

Show Notes/Links

Server side frameworks with Java

  • Jersey [jersey.java.net]
  • Jax-rs [jax-rs-spec.java.net]
  • Go [golang.org]

Other languages

Non-Square libraries that Jake uses

Awesome picks:

Donn:

Jake:

Kaushik:

Contact

Jake Wharton

Donn Felker

Kaushik Gopal

  • Paweł Bocheński

    Hi Guys!,

    First of all you’ve got a great podcast!
    Secondly, you have talked about intent wrapping while testing. While this is great technique and have it’s own advantages, you can just mock out intents in Espresso 2. Also it is possible to get all the data from the intercepted intent. So what do you think about that, do you use it?

    br
    Pawel

  • Stephan Linzner

    To add to what Jake said about proxying Intents in debug builds, we recently added Intent mocking (verification and stubbing) capabilities to espresso, which makes these kinds of tests a lot easier. For more info see: https://code.google.com/p/android-test-kit/wiki/EspressoIntentsSetupInstructions

  • Veeresh Kalmath

    Thank you guyz a ton for wonderful posts. Hope your next guest will be Jesse Wilson ;-).

  • Veeresh Kalmath

    Any inputs on abstracting the REST api layer across the platforms. As of now we use Rerofit to abstract REST api layer on Android/Java Swing apps. We want this extension to IOS apps as well. We’ve heard Haxe is is good in that which is basically trans compiler which generates platform specific library. But in haxe we don’t have something like retrofit to abstract away the boiler plate code. Do you guyz have any bestpracises/suggestions on this?

  • http://www.s-hei.com Shohei Shaun Kawano

    Great talks! I’m Shohei Shaun Kawano, a Japanese Android Engineer and I am interested in translating some of the content of talks both from episode 6 and 7 and share it in Japanese so that more engineers in Japan can learn something from this podcast. Could I do that?

  • Alex Korovyansky

    Fantastic discussion! Thanks guys!

  • Shrek

    Great talk. keep going.
    Try doing a chat with chet.

  • neoranga

    Great program, it was packed with great advise (is still very relevant even half a year later).

    On the topic of testing and abstracting Espresso interactions in helper classes, the next logic step imho is using the Page Object Pattern to abstract in a meaningful way all your UI testing interface from test cases and avoid having a big mess of test helper methods.
    The pattern mostly comes from Selenium web testing: http://martinfowler.com/bliki/PageObject.html

    To see the pattern in action (plus BDD) I made this sample project:
    https://github.com/neoranga55/CleanGUITestArchitecture

  • sakis

    Wow, this was just great! Great job guys!