robospock / RoboSpock

A testing framework which brings powers of Spock and Groovy to Android app testing
http://robospock.org
MIT License
249 stars 44 forks source link

Robolectric 3.0 support #33

Closed safwankamarrudin closed 9 years ago

safwankamarrudin commented 9 years ago

Are there any plans to upgrade Robolectric to 3.0?

wojtekerbetowski commented 9 years ago

I don't think anyone at this moment is working on it. I doubt it will happen very soon, but it's definitely worth of doing.

pjakubczyk commented 9 years ago

Actually I started the work few days ago. It's available in this branch https://github.com/Polidea/RoboSpock/tree/robolectric3

However I would like to release an update with Robolectric 3 because it's still a snapshot version.

safwankamarrudin commented 9 years ago

@pjakubczyk That's awesome! I'll keep an eye on this thread for updates.

jaredsburrows commented 9 years ago

@pjakubczyk How is this coming along?

walid-halabi-myob commented 9 years ago

+1

kdawgwilk commented 9 years ago

+1

pjakubczyk commented 9 years ago

There is support for 2.4 for this moment. I wanted to skip the version but the leap was to big.

pjakubczyk commented 9 years ago

Issue moved to https://github.com/robospock/RoboSpock/issues/1

cc @kdawgwilk @safwankamarrudin @jaredsburrows @walid-halabi-myob

pjakubczyk commented 9 years ago

Support for Robolectric 3.0 is about to be done. In few days it will be published. For now you can check if works with your project using jitpack https://jitpack.io/#robospock/RoboSpock/c9ee6221cd9ac5010bb8c39e110b7e9c272e0a9a

Please mind the fact that groovy version is higher so there might be some compilation errors.

pjakubczyk commented 9 years ago

0.7 support Robolectric 3.0 you can use testCompile 'org.robospock:robospock:0.7.0' gradle dependency in your project