Android Unit Testing                    Anatolii Isaiev    Android developer, GlobalLogic
Things you need to start:- Java JDK- Eclipse IDE (or Intellij IDE)- Android SDK- ADT Plugin for Eclipse- Core Java knowled...
What can we test?- Classes- User Interface- Services- Content Providers- etc...
Creating test project
Creating test project
Test application
Application activity class
Test case initialization code
Very simple test
Button click test
Button click test using Robotium"Its like Selenium, but for Android™"
Usefull linksdeveloper.android.com/guide/topics/testing/index.htmlcode.google.com/p/robotiumstackoverflow.comhabrahabr.ru/...
Thank You!Anatolii IsaievAndroid developerGlobalLogicemail: anatolii.isaiev@GlobalLogic.com
Android unittesting
Android unittesting
Upcoming SlideShare
Loading in …5
×

Android unittesting

1,512 views

Published on

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,512
On SlideShare
0
From Embeds
0
Number of Embeds
395
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Android unittesting

  1. 1. Android Unit Testing Anatolii Isaiev Android developer, GlobalLogic
  2. 2. Things you need to start:- Java JDK- Eclipse IDE (or Intellij IDE)- Android SDK- ADT Plugin for Eclipse- Core Java knowledges- (Robotium test framework)
  3. 3. What can we test?- Classes- User Interface- Services- Content Providers- etc...
  4. 4. Creating test project
  5. 5. Creating test project
  6. 6. Test application
  7. 7. Application activity class
  8. 8. Test case initialization code
  9. 9. Very simple test
  10. 10. Button click test
  11. 11. Button click test using Robotium"Its like Selenium, but for Android™"
  12. 12. Usefull linksdeveloper.android.com/guide/topics/testing/index.htmlcode.google.com/p/robotiumstackoverflow.comhabrahabr.ru/blogs/android_development/131637
  13. 13. Thank You!Anatolii IsaievAndroid developerGlobalLogicemail: anatolii.isaiev@GlobalLogic.com

×