Hi Matthias,

<SDK_PATH>/platforms/android-2.0.1/templates/android_test_rules.xml
contains the rules for your test project just as android_rules.xml
contains the rules for a regular android project.

When you create a project using "android create project" , the
build.xml generated uses the rules from these rule files by default.
See http://developer.android.com/guide/developing/other-ide.html


The documentation is present in the rule files. So run "ant coverage"
to run the tests and generate coverage reports.
Several examples of tests are present in android source , for example
tests for the Calculator app can be found here
http://android.git.kernel.org/?p=platform/packages/apps/Calculator.git;a=tree

Thanks
Chander


On Feb 3, 3:12 pm, "[email protected]"
<[email protected]> wrote:
> Hi,
>
> we're using android for some software engineering courses at our
> university. The students should produce code coverage reports for
> their unit tests, so we looked at the android-2.0 SDK which says on
> the release page:
>
> "Adds new Ant build system with support for Emma instrumentation
> projects (code coverage)."
>
> However I'm unable to find any documentation or examples for this.
> Does someone have more information about it?
>
> Greetings,
>      Matthias Braun

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to