[android-developers] Re: InstrumentationTestRunner with Annotation
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 <myama...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home