Changes

Jump to: navigation, search

Mobile/Fennec/Android/Testing

14 bytes added, 17:23, 9 May 2016
JUnit4 tests
(Note mcomella 5/5/16: they don't all pass for me locally)
These jobs run * Runs on [http://robolectric.org/ Robolectric], which mocks various Android libraries so you can write integration tests as unit tests. for Android libraries that would ordinarily have to be run on device* Supports [http://mockito.org/ Mockito] is also supported for custom mocking (see [http://mxr.mozilla.org/mozilla-central/source/mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/TestVerifyAction.java TestVerifyAction for a sample]). You can also run * Run specific tests from the IDE by selecting : select the "Build Variants" menu (bottom left), changing change "Test Artifact" to "Unit Tests", right-clicking click on the test class you want to run, and selecting select the "Run <test-class>" option.
=== integration tests ===
Confirm
975
edits

Navigation menu