Monday, January 25, 2010

[android-developers] Re: unit testing

On Jan 25, 5:38 pm, Christine <christine.kar...@gmail.com> wrote:
> I need a reference to an introduction to Android unit testing for a
> coworker, but the SDK docs don't seem to provide an introduction. I
> myself used the apidemos and the api docs, but I was wondering if
> there's a concise intro to Android unit testing?

Well, there is at least some support for unit testing in IDEA plugin,
but
testing occurs only on device or emulator (sloooooow...) - as
libraries used
to compile against contain merely stubs

However, you can employ mock frameworks ( I played around today ) -
but you have to use something really powerfull ( I stuck with
mockit ,
as jmock has problems in mocking concrete final classes )

--
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


Real Estate