Justin
unread,Mar 5, 2012, 7:00:51 PM3/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Robolectric
Hey All,
Got Robolectric all set up in Eclipse and it works great, but I'm
having a tough time figuring out how to share a Robolectric test
project with a team via Git, or integrate it into a Jenkins CI
process. It was for this reason that I decided to ditch Robolectric in
favor of emulated tests at my last gig, but I'd really like to figure
out how to make it work.
Obviously there are a lot of configurable parts in Robolectric
(location of Android and Maps jars, the launch configuration, the
linking of the test folder between the main project and the test
project, etc...).
We're not using Maven, and have no interest in using Maven.
Any suggestions? I committed the Eclipse launch configuration file to
Git, but there are still dependencies on on the .jar file paths, and
the linked projects "test" folders are broken, because they too
require specific file paths. I haven't found any way to use
environment variables or anything for these things.
Can I use Ant to configure my launch configuration for both Eclipse
and Jenkins, even though we won't be using it to actually build our
APKs?
Thanks!
</Justin>