This page last changed on Jun 01, 2011 by cortextual.

I just stumbled across Android test size annotations and think it would help separate the JUnit integration tests which contact external controllers (which would be annotated with @LargeTest) from other JUnit tests:

http://googletesting.blogspot.com/2010/12/test-sizes.html

http://developer.android.com/guide/developing/testing/testing_otheride.html has some intructions for the am instrument command to run tests by size.

This may take some fiddling with the auto-generated ant build script to get working smoothly, but could conceivably save a good bit of time.

Do the fiddling.

One way or another we need to find a way to introduce multiple test targets to Android's auto-generated scripts.

Good blog on the testing.

Posted by juha at Jun 02, 2011 08:55
Document generated by Confluence on Jun 05, 2016 09:32