Classes and unit testing...
Ah, okay, I understand about classes.
I guess I was wondering if there's a way to kick off a testing cycle, maybe from the IDE?
Is there conditional compilation? If that's the case there could be another target 'UnitTest', and in the code that is only compiled when this is in effect, I can kick off testing.
Otherwise, maybe in Android one could create another activity that responds to a "unittesting" intent, that can call the various bits and pieces of the app to exercise it.
Finally, I suppose I could put the testing code in my app tied to a button, and as part of the release cycle just hide the button. I don't like it for several reasons, but it'd get the job done, I suppose.
Surely someone has come up with a better plan than that?
-Ken