Cool, thanks for the confirmation. In that case I will write and derive derive my runner from InstrumentationTestRunner. Also Google's documentation is wrong in this case.
On Sat, Jan 15, 2011 at 6:58 PM, A. Elk <[email protected]>wrote: > Exactly. The annotations in InstrumentationTestRunner come from > android.test.suitebuilder.annotation. My understanding is that, while > they're public, they're not supported. > > As a note, InstrumentationTestRunner and the Android unit/functional > test framework are based on JUnit 3, not JUnit 4. > > On Jan 14, 3:09 pm, Diego Torres Milano <[email protected]> wrote: > > If you want to provide a different behavior for the test runner just > > create your own extending it: > > > > public class MyTestRunner extends > > android.test.InstrumentationTestRunner { > > // do wathever you want > > > > } > > > > To do whatever you want, use android.test.InstrumentationTestRunner > > source as a an inspiration. > > > > On Jan 13, 1:47 am, Aman Bhardwaj <[email protected]> wrote: > > > > > Hi, > > > I have some test cases with my own defined Annotations, but > > > InstrumenationTestRunner doesn't runs tests based on annotation. > > > However it works if I add annotations > > > from android.test.suitebuilder.annotation. > > > > > Is it only supposed to work with annotations > > > in android.test.suitebuilder.annotation.Smoke? > > > Any suggestions how to make it work with my own annotations. > > > > > Thanks, > > > ~Aman > > > > -- > > Have you read my blog ?http://dtmilano.blogspot.com > > android junit tests ui linux cult thin clients > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

