Access Keys:
Skip to content (Access Key - 0)
 

test size annotations for conditionally running integration tests on Android console

Andrew Ball

On Jun 01, 2011 20:36

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.

 
Labels: ,
Participants: Andrew Ball , Juha Lindfors
  1. Jun 02, 2011

    Juha Lindfors says:

    Do the fiddling. One way or another we need to find a way to introduce multiple...

    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.

Adaptavist Theme Builder Powered by Atlassian Confluence
Free theme builder license