Test drive your Android application with Robolectric, an open-source testing framework for Android. Follow @robolectric on twitter.
Monday, October 31, 2016
Robolectric 3.1.4 is released!
This release fixes an issue that prevented running tests for projects without an explicit dependency on org.robolectric:shadows-core. If version 3.1.3 was working for you, there'll be no changes in 3.1.4.
Wednesday, October 26, 2016
Robolectric 3.1.3 is released!
Among the changes you'll find in this version:
- Robolectric's handling of styles and themes is now much more faithful to Android's actual behavior. Missing styles (often from AppCompat) are now more likely to cause failures, so you'll generally want to set a theme, either through your manifest or programmatically.
- Missing resources and attributes which silently failed or defaulted to platform attributes with the same name will now raise errors.
- ContentProviders should be created using Robolectric.buildContentProvider(), which simulates how the framework creates them (and calls onCreate() automatically).
- Robolectric's PackageManager is more fully implemented; e.g. you can now setPackagesForUid().
- RoboMenuItems should be constructed with a context.
- RobolectricTestRunner has been changed to make it easier to customize manifest loading, while retaining caching. If you have a custom test runner, you should override getManifestFactory() instead of getAppManifest().
- You can enable style resolution debug output by turning on logging (by setting the robolectric.logging.enabled system property to "true").
Thursday, July 28, 2016
Robolectric 3.1.2 is released!
Here's a new version for ya!
Bug Fixes
- Fix Multidex, Play Services, and Maps support.
- Fixed NPE when attempting to load non-existent resource (now correctly throws ResourceNotFoundException).
Tuesday, July 12, 2016
Robolectric 3.1.1 is released!
We're gonna start posting release notes here again!
Migration guide
Features
- None
Bug Fixes
- Fixed performance regression
Known Issues
- PowerMock integration is still broken
Migration guide
Subscribe to:
Posts (Atom)