Menu

Test-Driven Development on Android using native Scala Mocking and Dependency Injection

This week I gave a talk to Londroid testing enthusiasts on how we do TDD on Android at TouchType. Our system uses RoboGuice (an Android version of Google Guice) and an open-source Scala mocking framework called Borachio, developed by Paul Butcher, our Chief Software Architect. We write our tests concisely, in Scala, and we run the tests on Android devices. We’re pretty sure we’re the only people in the world to use this approach to testing on Android and we’ve found it to be very useful. If you’d like to know more watch the presentation via the link below.

If you have ideas of how we can improve testing on Android, please get in touch! You never know… we might just hire you!

Get Involved

Get exclusive access to pre-release betas and talk to other SwiftKey fans.

VIP Community

@swiftkey

  • SwiftKey: @MacwellRedmond Considering how often we all are entering text into our devices, I could see how one could possibly get obsessed. Enjoy!1 hour ago
  • SwiftKey: @Stoney72 Thanks for being a friend of SwiftKey. =)1 hour ago
  • SwiftKey: @RedsRunRampant Please post your findings on our support forum at http://t.co/Sdm6MJT68B so that we can continue to improve it. Thanks!3 hours ago
  • SwiftKey: @johnnaby We're glad you're enjoying it! How are your stats looking so far? You can see them within SwiftKey's settings.3 hours ago
  • SwiftKey: @jvarg1990 Repeat posts sometimes exist in the public forum. We've just merged the 3 different Snapchat posts on your behalf.3 hours ago
  • SwiftKey: @nicka912 That's as stellar a review that we could ask for. =)4 hours ago