Felipe,

Atlast i am half way through in getting the coverage file. But..I dont
see any required output in that file.

I created a sdcard. Then i run my Instrumentation with the following
command,
# am instrument -e coverage true -w com.app.exam.tests/
android.test.InstrumentationTestRunner

First I got error, Is EMMA jar included.

So, i added the amma.jar in the build path. Again I ran the same
command. Then, I found a coverage file , "coverage.ec" while
navigating thro file explorer of ddms. I pulled it to the desktop and
imported the session to Coverage field in eclipse.

Its unfortunate that I dont see any code coverage but i could see only
the number of instructions.Even though my test cases has run and the
results has displayed, I am getting 0.0% code coverage..

Can u please try this and share ur experience..

Deeps

On May 21, 9:25 pm, Felipe Ramos <felipe.wo...@gmail.com> wrote:
> Hi deeps,
>
> I'm stuck on the point where I need to run the instrumented tests on
> the emulator. I could not find a way yet to make the emulator believe
> that theemma.jar is already installed on it.
>
> Also, I don't know if there is a way of enablingEMMAinstrumentation
> using the SDK. I have not tried that yet. I'm using theandroidfull
> source, compiling it from scratch. I think I'm close, at least to run
> it on the emulator, but on this past week I was too busy and could not
> investigate more about this issue. I'm planning to put everything I
> know on a blog or something like that, at least to help the other
> developers that are trying to makeEMMAwork onAndroid, since I could
> not find relevant references on this matter from the Google guys.
>
> I'll send later a step by step of what I made up to now... I'm
> currently at my job, so I don't have much time to write right now.
>
> BR
>
> Felipe
>
> On May 21, 10:00 am, Deeps <l.prade...@gmail.com> wrote:
>
>
>
> > Felipe Ramos,
>
> > Did u end up somewhere..? I am not able to go ahead with this......
>
> > deeps- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to