[android-developers] Re: Android Functional Testing (testing multiple activities)

2009-04-28 Thread zlu
Rick, Thanks so much for posting your findings. They are helpful. Zhao On Apr 28, 9:36 am, Rick wrote: > Android functional testing across multiple activities: > > Since no one has really shown how to do this, and Android really only > shows us testing a single activity, > testing more comple

[android-developers] Re: Android Functional Testing (testing multiple activities)

2009-04-28 Thread Rick
Android functional testing across multiple activities: Since no one has really shown how to do this, and Android really only shows us testing a single activity, testing more complex applications will need cross-activity testing. How to do it? 1. Use InstrumentationTestCase 2. Use an ActivityMana

[android-developers] Re: Android Functional Testing (testing multiple activities)

2009-04-20 Thread Richard Cook
So I've learned a bit more about the Instrumentation, but now I am at a point where it HANGS if I have more than one test case running. I'm running a cross-activity functional test case using InstrumentationTestCase. I have to run handles for the ActivityGroup, currentActivity, and the activityMa

[android-developers] Re: Android Functional Testing (testing multiple activities)

2009-04-17 Thread z
+1 On Apr 16, 8:52 am, Rick wrote: > I've been exploring the Android test package and I'm very confused on > how to implement functional testing for endpoint-to-endpoint. > > Consider the example below, I have 4 activities: > 1. A Contact List Activity > 2. A View Contact Activity > 3. An Add/Ed