# Better Android Testing with Robolectric 2.0

DevFeed: [Better Android Testing with Robolectric 2.0](<https://devfeed.tech/articles/better-android-testing-with-robolectric-2-0-15544.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/better-android-testing-with-robolectric-2-0>)

Author: Square Engineering

Published: 2013-05-09T16:03:00Z

Content type: article

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Android](<https://devfeed.tech/topics/android.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>), [Instrumentation](<https://devfeed.tech/topics/instrumentation.md>), [ide](<https://devfeed.tech/topics/ide.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-testing](<https://devfeed.tech/tags/android-testing.md>), [announce](<https://devfeed.tech/tags/announce.md>), [availability](<https://devfeed.tech/tags/availability.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [framework](<https://devfeed.tech/tags/framework.md>), [ide](<https://devfeed.tech/tags/ide.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [robolectric](<https://devfeed.tech/tags/robolectric.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

This article announces Robolectric 2.0 release candidate 1 and explains how the framework supports Android unit testing on a desktop JVM. It describes improved Android OS emulation using modified Android SDK code, support for styles, themes, and system resources, faster test startup, and bug fixes.

## Source excerpt

The essential framework for testing Android applications