I've done written many many test cases for android codes.
i wrote test cases for 3rd party applications..
i wrote test cases for native application (in device manufacturer),
also for android framework (only part that we add, modify)

I have been a tester for many years. i've been writing unit test code
for java in web application area. also development programmer...
when i was writing test code in java application, i felt quit this is
worthwhile job at least, it was not easy work though...

in Android world of code..  i..  feel..  i am not sure what i am is
doing..
because, (of course, it depends on what applications are) in one
android application, there over 80% are activities, and rest are
receivers, services, providers.

it make sense to me for writing test code for receivers, services,
providers. each component is working independent. so it's quite
helpful writing test codes.
also, if i use ant task, or continuous build system like Jenkins, it
can be very useful..  i've done these things..

but for Activities..  i might feel..   "this is not right"..

I completely know what android Instrumentation test is , any helpful
libraries(like robotium, roboletric, even i made some
libraries.......)
the thing is for activities, after writing test many codes for
activities, i felt testing with my hands is more efficient..

i think unit test is one of way of developing program. agile also says
so is TDD (unit test).
i am not sure writing a test code for activity is best way of making
better quality codes... it takes a lots of time..  activity is not
working independently.. as you know...and test code can't cover many
codes.....

i just want know...
if any of you are writing test codes for activities...  how do you
write? or can you tell me how you write test codes..

well..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to