Questions tagged [robolectric-gradle-plugin]

The robolectric-gradle-plugin is a plugin for Gradle that allows Android Gradle builds to run Robolectric style tests.

The robolectric-gradle-plugin is a plugin for Gradle that allows Android Gradle builds to run Robolectric style tests.

It was originally authored by Jake Wharton and is available from Maven central.

77 questions
0
votes
1 answer

Unable to find Unable to find method '$$robo$getData' in com.example.trial.myapplication.MyActivity with parameter type(s) []

I recently started looking at using the Robolectric gradle plugin to test one of my applications. The plugin itself is easy to setup in the project into the project, but I keep hitting the same error when trying to run a sample test. My code is as…
0
votes
2 answers

Unknown error when running robolectric

I am new to robolectric and all I want is to run simple test. I use Android Studio => Gradle When I run my sample test @RunWith(RobolectricTestRunner.class) public class ExampleTest extends InstrumentationTestCase { @Test public void test() throws…
1 2 3 4 5
6