How to use EMMA code coverage in android

前端 未结 3 1017
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-31 18:32

I\'m new to EMMA, I don\'t know how to use this for android system. Can anyone please give a sample for using this with android. Thanks a lot.

3条回答
  •  轮回少年
    2021-01-31 19:14

    Apparently EMMA isn't supported for the SDK Yet. It's only supported for Apps and Tests that are part of the source tree. Which seems weird because they don't mention this in the dev-guide where they tell you about the EMMA instrumentation options. http://developer.android.com/guide/developing/testing/testing_otheride.html#AMOptionsSyntax

    You can read the response from this guy (who appears to be on the dev team? I dunno) http://groups.google.com/group/android-developers/msg/a542afd318832371

    If you want to download and build the Android Source it sounds feasible to get EMMA working for your own App. However, it sounds kind of tricky and possibly a little unstable. See the full thread for more info: http://groups.google.com/group/android-developers/browse_thread/thread/43cf8a8ca5662f85/9b68eec3e7b625f3?lnk=gst&q=Emma#

提交回复
热议问题