Good work. I have a couple of comments:

If you have POJOs in your code, you can test them with JUnit using a
standard mocking framework of your choice. The only limitations on
mocking are imposed by the Android system.

Without getting into too much detail, most of the objects in the
Android API can't be mocked. This is known. It's not meant to be test-
hostile, and it's not accidental. I always think that to get anything
useful in a finite amount of time, one has to make tradeoffs.

Some of the class names could have been chosen better, perhaps.
However, their functionality is well-documented.

I think the key thing is that you've produced something useful for
Android developers.

On Mar 13, 10:25 am, paulbutcher <[email protected]> wrote:
> One of my biggest frustrations with writing code for Android has been
> the fact that none of the current Java mocking frameworks work on
> Android’s Dalvik VM. I recently released Borachio a native Scala
> mocking framework which does work on Android.
>
> Because Borachio is written in Scala, you’ll need to write your tests
> in Scala. But it can be used to test code written in Java.
>
> There's a description of how to use Borachio on Android on my blog:
>
> http://www.paulbutcher.com/2011/03/mock-objects-on-android-with-borac...http://www.paulbutcher.com/2011/03/mock-objects-on-android-with-borac...http://www.paulbutcher.com/2011/03/mock-objects-on-android-with-borac...
>
> I'd be very interested in any feedback!
>
> --
> paul.butcher->msgCount++
>
> Snetterton, Castle Combe, Cadwell Park...
> Who says I have a one track mind?
>
> http://www.paulbutcher.com/
> LinkedIn:http://www.linkedin.com/in/paulbutcher
> MSN: [email protected]
> AIM: paulrabutcher
> Skype: paulrabutcher

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

Reply via email to