Approval Testing

Approval Testing

Slides from my speech on XP Days Ukraine 2011 conference about Appoval Tests framework and approach.

F32f547e66f3b6528376d67fdb67008f?s=128

Alexander Beletsky

December 17, 2011
Tweet

Transcript

  1. APPROVAL TESTING Alexander Beletsky, Developer http://beletsky.net @alexbeletsky

  2. HOW DO WE TEST?

  3. AUTOMATE THEM

  4. TDD, BDD, A-TDD RULEZZZ!

  5. BUT IT FAILS SOMETIMES

  6. UI AND LEGACY CODE - SUCKS

  7. UI TESTS ARE TOO COMPLEX...

  8. I'VE MOVED THE BUTTON 5px RIGHT

  9. LEGACY CODE HAS NO TESTS...

  10. I'VE CHANGED ONE LINE OF CODE

  11. SCREW YOU GUYS, I'M GOING HOME

  12. WHAT MAKES IT DIFFICULT?

  13. COMPUTER DOES!

  14. COMPUTER POWER IN - COMPUTING

  15. HUMAN POWER IN - RECOGNTION

  16. WHY SHOULDN'T WE COMBINE ?

  17. APPROVAL TESTS - SUPERPOWER

  18. http://approvaltests.sourceforge.net/ Llewellyn Falco Owner, Spun Laboratories Inc. Llewellyn Falco has

    been a software developer since 1996 and an Agile Coach for the past 2 years. Focusing on Java and C# he is the creator of the open source testing tool ApprovalTests which simplifies the testing of complex GUIs, Databases, and objects. When not working with clients, Llewellyn continues to develop ApprovalTests and regularity speaks at local user groups. Find his blog at llewellynfalco. blogspot.com
  19. AVAILABLE FOR: C# JAVA PHP RUBY VB.NET

  20. // ARRANGE // ACT // ASSERT } // DO //

    VERIFY CHANGES IN TESTING APPOACH
  21. // DO by computer // VERIFY by human

  22. DEMO TIME!

  23. DISCLAIMER: STILL NO SILVER BULLET

  24. MATERIALS: Videos & Podcasts http://approvaltests.sourceforge.net/? q=node/7 Blog http://blog.approvaltests.com/

  25. THANK YOU! http://beletsky.net @alexbeletsky