1 / 46

Early Developer Testing: An Introduction to Automated Test Driver Frameworks

Learn about the importance of early developer testing and how to implement automated test driver frameworks. Discover how these frameworks can save your reputation and improve the efficiency of your testing process.

tbreaux
Download Presentation

Early Developer Testing: An Introduction to Automated Test Driver Frameworks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WARNING • These slides are not optimized for printing or exam preparation. These are for lecture delivery only. • These slides are made for PowerPoint 2010. They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here. • These slides contain a lot of animations. For optimal results, watch in slideshow mode.

  2. How long will they take to catch all fish? Less than 1 hour Around 1 hour About 100 hours Forever [Extra] 100 fish If 100 people trying to catch 100 piranha fish. On average, one person can catch one fish within 1 hour

  3. How long will they take to catch all fish? Less than 1 hour Around 1 hour About 100 hours Forever [Extra] 100 fish If 100 people trying to catch 100 piranha fish. On average, one person can catch one fish within 1 hour

  4. How long will they take to catch all fish? Less than 1 hour Around 1 hour About 100 hours Forever [Extra] 100 fish If 100 people trying to catch 100 piranha fish. On average, one person can catch one fish within 1 hour

  5. System testing SUT

  6. System testing SUT

  7. System testing SUT

  8. [Extra] who wants maximum publicity Do you want maximum publicity for your mistakes?

  9. [Extra] who wants maximum publicity Do you want maximum publicity for your mistakes?

  10. Never too early to test: An Introduction to Early Developer Testing

  11. MSLogic History UI MSLogic History UI Storage Unit testing Storage

  12. MSLogic History UI MSLogic History UI Storage Unit testing Storage

  13. Unit testing Test Driver SUT==MSLogic UI MSLogic History Stub Storage String item = msLogic.getItem(1); if(!item.equals(“Item1”) print(“Case 1 failed”); …

  14. Unit testing Test Driver SUT==MSLogic UI MSLogic History Stub Storage String item = msLogic.getItem(1); if(!item.equals(“Item1”) print(“Case 1 failed”); …

  15. String item = msLogic.getItem(1); if(!item.equals(“Item1”) print(“Case 1 failed”); … assertEquals(msLogic.getItem(1), “Item1”); JUnit Testing frameworks

  16. Automated UI MSLogic History Storage A type of Unit testing Developer testing

  17. SUT Test-Driven Development (TDD)

  18. Write a failing test Write code to pass test Test-Driven Development (TDD)

  19. CityConnectTest.java CityConnect.java

  20. CityConnectTest.java CityConnect.java

  21. CityConnectTest.java CityConnect.java Clementi true Novena  true Eunos true Changi false Clementi, Eunos, 20 Eunos, Novena, 40 Write the java code for the above

  22. CityConnectTest.java CityConnect.java

  23. CityConnectTest.java CityConnect.java

  24. CityConnectTest.java CityConnect.java

  25. CityConnectTest.java CityConnect.java

  26. CityConnectTest.java CityConnect.java

  27. CityConnectTest.java CityConnect.java

  28. CityConnectTest.java CityConnect.java

  29. CityConnectTest.java CityConnect.java

  30. CityConnectTest.java CityConnect.java

  31. CityConnectTest.java CityConnect.java

  32. CityConnectTest.java CityConnect.java

  33. CityConnectTest.java CityConnect.java

  34. CityConnectTest.java CityConnect.java

  35. CityConnectTest.java CityConnect.java

  36. CityConnectTest.java CityConnect.java

  37. CityConnectTest.java CityConnect.java

  38. CityConnectTest.java CityConnect.java

  39. CityConnectTest.java Note: more test cases required. CityConnect.java Refactor as necessary.

  40. Write a failing test Write code to pass test Test-Driven Development (TDD)

  41. [Extra] who wants maximum publicity Do you want maximum publicity for your mistakes? When the system test fails...

  42. Must have automated developer tests!

  43. It can save your reputation. Must do developer testing Can do in TDD fashion Only system testing? NO Use automated test driver frameworks

More Related