Ok, so I want to do some performance testing. I'd like to this in an automated way and would like to evaluate the available test harness by using the built in JUnit framework.
I have really looked for documentation regarding this but have found very little. I figured out that I should implement the android.test.PerformanceTestCase interface in my test classes. I managed to run the test case by running "adb shell am instrument -w xyz.performance.tests/android.test.InstrumentationTestRunner" where my test classes are located in the "xyz.performance.tests" package. The output and result can be seen below: -------------------------------------------------------------------------- xyz.performance.tests.PerformanceTest:. xyz.performance.tests.TimeTest:. Test results for InstrumentationTestRunner=.. Time: 1.699 OK (2 tests) -------------------------------------------------------------------------- and "logcat" doesn't say anything about the time to execute the individual tests. I am clearly missing something here so any help is appreciated! /Magnus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

