[TUT] Android Gradle App with Espresso Instrumentation tests

TweetThis tutorial will show you the skeleton of an Android application that uses the Gradle build system and runs Espresso Instrumentation tests on Android classes. This follows on from my tutorials about Robolectric JUnit tests & JVM JUnit tests, you can have Espresso tests without Robolectric or JVM tests, but the idea is they all […]

[TUT] Easier / Quicker Generic Collection Creation

TweetSick of repeating your generics declaration?Sick of repeating your generics declaration? For a quick and easy way to create a collection of objects you can do the below. Create yourself a util class: Then each time you only need to declare your generics once. This is due to Type Inference. Inspired by Joshua Bloch’s – […]