robolectric/robolectric-gradle-plugin

Executing tests fails randomly

weiznich opened this issue · 6 comments

Tried to execute my robolectric tests throught gradle, but on a randomly test execution is stopped and gradle fails. Any idea whats causing this and how to solve this?

Stacktrace

This is probably not a problem with the Gradle plugin- you should probably check the main robolectric project for related issues.

In a quick look I did not found something related there.
I also believe this is a issue of the gradle plugin, because if I only execute a few tests (about 10 or so) the tests run fine.

Can you please include (copy paste) your stacktrace here? The link does not work for me.

erd commented

I suspect that this is fixed with #129 since we rely on the Android Gradle plugin to build and run our tests (this plugin just sets up the necessary system properties to run Robolectric).