views:

62

answers:

1

Could you point some good examples of Android projects that have unit testing in action?

It would be great to learn by example from those.

A: 

Look at the android sources. You can find them on http://android.git.kernel.org.

To be a bit more precise take a look at the Calculator app for example. http://android.git.kernel.org/?p=platform/packages/apps/Calculator.git;a=tree

You can see the test directory. I guess that is what you meant.

I hope that this is what you were looking for.

Octavian Damiean
What I'm looking for is actually fully functional project. Calculator application is very simple one. Aim of this question is to find apps that have some complex logic, use preferences, networking etc. and see how those things are actually tested using both functional and unit tests.
pixel
Well I thought of this link as a resource for that. The calculator app is simple I know it was just an example. They have more applications in that repository like the Email application http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=tree
Octavian Damiean