Add ant-based code coverage support to Android SDK

Target 'run-tests' launches all the unit tests against the tested project.
Target 'coverage' emma-instruments the tested project's classes,
runs the tests against instrumented classes, collects code coverage data
and extracts it to human-readable form as report.html.
android_test_rules.xml contain additional rules for test projects.
Test projects are auto-recognized by presence of the tested.project.dir
property, which will be auto-generated for tests projects. Temporarily,
please add this property manually to the build.properties file.
Current version is mainly tested with default, android generated test projects.
This version includes also fixing relative to absolute paths for
properties which are most likely to be changed by user in external
property file.
This commit is contained in:
Piotr Gurgul
2009-09-01 21:58:52 -07:00
parent 56098693d2
commit 6edb5a108e
5 changed files with 259 additions and 67 deletions

View File

@@ -63,4 +63,5 @@
build steps are used.
-->
<setup />
</project>