[android-developers] Re: When to use TestCase, InstrumentationTestCase or AndroidTestCase

2010-03-03 Thread navin
Hi Mihai, Thanks for the post, it did helped. And also your post on the unit and functional testing..that was very helpful. In any chance have you developed any test case and included in CTS?? also if you can explain something about AndroidTestCase class and why specifically use it when we have

Re: [android-developers] Re: When to use TestCase, InstrumentationTestCase or AndroidTestCase

2010-03-03 Thread Mihai Fonoage
Hi Navin, I have not used AndroidTestCase (though I guess you read the API documentation for the class). Regarding CTS, no I have not, sorry. Mihai On Wed, Mar 3, 2010 at 5:23 AM, navin celebna...@gmail.com wrote: Hi Mihai, Thanks for the post, it did helped. And also your post on the unit

[android-developers] Re: When to use TestCase, InstrumentationTestCase or AndroidTestCase

2010-03-02 Thread Mihai Fonoage
Hi navin, From what I know, for functional testing your entire activity, one would use ActivityInstrumentationTestCase2; for testing some part of your activity in isolation you would use an InstrumentationTestCase; for unit testing, if you use JUnit 4.x version, you just need to annotate your