2 : while trying the same with android project we found the following issue.
- after Configuring android with PIT, we are successfully running the pit tools, but coverage for the same is not done.
- while analyzing the log I have found that, pit is not able to cover the Android junit. PIT requires a support tool to run the Android based code coverage.
- for the support tool, I have chosen "Robolectric". (ie) I am able to run a standalone android project with "Robolectric" tool.
- as per current status, i am trying to integrate the pit and robolectric, so that I can get coverage for Android project.
- we have created one android project and one Java project. From Java project I am testing junit with help of robolectric tools. As a result inside android project a mirror test class create, from Java project with same pkg.
- from robolectric I am able to do junit test for Android project, but if I am trying to do pit mutation testing, then not getting expected results.
My Eclipse piclipse version is 0.31
Eclipse : Mars 2
Support : http://stackoverflow.com/questions/20241134/android-how-to-run-pit-mutation-testing-with-robolectric
From this link, only Sulai and Henry told they are successful with android sample project. I humbly request to both of you, please provide some doc or tutorial, how to set up for Android.
From this link, Henry confirmed, 0.32-snapeshot will work with robolectric, but I am unable to get Eclipse plug-in of 0.32-snapeshot, only jar files are there, but how to use this jar. Please help me.
Hi Subrata,
Its not instantly clear what the issue is. I won't be able to look at this for the next two weeks, but I'll try and recreate the issue when I'm able.
--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PIT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pitusers/GHgonTYti-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pitusers+u...@googlegroups.com.