Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

DDT Testing Library for Android

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Prochain SlideShare
Introduction to TDD
Introduction to TDD
Chargement dans…3
×

Consultez-les par la suite

1 sur 50 Publicité

DDT Testing Library for Android

We presented this library at Java Developer Conference Cairo 2012. The purpose of this library is to provide developers with the capability to do Data Driven Testing on Android.

We presented this library at Java Developer Conference Cairo 2012. The purpose of this library is to provide developers with the capability to do Data Driven Testing on Android.

Publicité
Publicité

Plus De Contenu Connexe

Diaporamas pour vous (20)

Similaire à DDT Testing Library for Android (20)

Publicité

Plus par Ahmed Misbah (17)

Plus récents (20)

Publicité

DDT Testing Library for Android

  1. 1. A Data Driven Automated Test Framework for Android Ahmed Misbah Ahmed Aswani
  2. 2. Agenda Testing ??!!!! Types of Testing How People Test Software The Manual Way It is Bad! The Solution (The Automated Way) How to Implement Automation The Wonderful TDD Automation Steps Words on Automation Our Solution and Experience
  3. 3. Testing??!!!!
  4. 4. UNIT TESTING INTEGRATION TESTING ACCEPTANCE /functional TESTING Performance TESTING UI TESTING
  5. 5. HOW WE TEST
  6. 6. HOW
  7. 7. Wonderful TDD
  8. 8. Write Clean Testable Code
  9. 9. Integration Test
  10. 10. Data Driven
  11. 11. LOAD TEST PERFORMANCE TEST
  12. 12. The most Useful tool for JAVA
  13. 13. reliable [ri-lahy-uh-buhl] that may be relied on; dependable in Achievement, accuracy,
  14. 14. Trust In Your Machine
  15. 15. Don't Wast your Effort
  16. 16. How Far automation should I go ?!
  17. 17. MANUAL IS IMPORTANT
  18. 18. Change Is Hard.... In the beginning Only
  19. 19. Our Solution and Experience DDT Library for Android
  20. 20. The story behind IM Application XMPP Server Registration Presence Edit Profile Messaging
  21. 21. Login Loading Users Sorting Users Pagination
  22. 22. Manual Testing Scenario Quality Engineer would have to register users manually (6 mandatory fields) QE would enter each user’s Roster (must exceed 22 to test pagination) QE should take care of user names for sorting
  23. 23. Manual Testing Scenario Verify User Login Verify that Roster was loaded correctly Verify that Roster is sorted correctly Verify that pagination is working Do the same when bugs are fixed and during regression
  24. 24. Test Results Quality Engineer of course
  25. 25. Conclusions Needed to apply Automated Testing Some cases had to be handled using DDT
  26. 26. Why a new library? None exists !!! Time was tight to learn anything new Leverage benefits of Automated Testing
  27. 27. The Library Test Data Expected Output Automated Test Framework Test Results JSON file JUnit for Android DDT Library Test Results Your Code
  28. 28. How it works?
  29. 29. How it works?
  30. 30. How it works?
  31. 31. Under the hood Java Google Gson library (http://code.google.com/p/google-gson/)
  32. 32. Benefits of the library Its free!! Its Open Source!! Works on anything that is Java, even Android Almost no learning curve (i.e. Its easy!!)
  33. 33. Drawbacks Needs more work All drawbacks of Automated Testing and DDT
  34. 34. Future work Eclipse plugin Construct JSON files, Auto generate Data objects, Map data to code that will be tested, Generate junit test cases, Generate better test results (Expected Output and Actual Output)
  35. 35. Need your support and feedback Project available on Source Forge @ https://sourceforge.net/projects/ddtandroid/ Our emails: Ahmed Misbah: me@ahmedmisbah.com Ahmed Aswani: ahmed107@gmail.com
  36. 36. Questions ??? Thank you

×