Successfully reported this slideshow.

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Related Audiobooks

Free with a 14 day trial from Scribd

See all

測試

  1. 1. eddie
  2. 2. http://www.eddie.com.tw aquarianboy@ptt eddie@digik.com.tw aquarianboy@plurk eddiekao@facebook
  3. 3. ....
  4. 4. ....
  5. 5. Test-Driven Development (TDD)
  6. 6. WHY? ? Every Programmer Makes Mistakes!!
  7. 7. WHY NOT? ? No Time! Boring! Hey! I’m an experienced programmer!
  8. 8. WHO? ? ? PM? ? ? ? ?
  9. 9. HOW? ? ...click...click...click.... ... ....
  10. 10. WHAT? ? !
  11. 11. ! !
  12. 12. .... Deadline-Driven Development
  13. 13. .... Stupid-Client-Driven Development
  14. 14. ... ( ) ! ( !)
  15. 15. !
  16. 16. Test-Driven Development (TDD)
  17. 17. * Unit Testing * Integration Testing * System Testing * System Integration Testing * Regression Testing * Acceptance Testing * Alpha Testing * Beta Testing http://en.wikipedia.org/wiki/Software_testing
  18. 18. What’s UNIT? A unit is the smallest piece of code that is testable, a piece of code that performs a specific task!
  19. 19. Test != Debug
  20. 20. Waterfall Development → → Code → → http://en.wikipedia.org/wiki/Waterfall_model
  21. 21. ? * ! * !
  22. 22. TDD? ” ”
  23. 23. !
  24. 24. Function
  25. 25. ( )
  26. 26. ... code ?
  27. 27. (Test Case) ...
  28. 28. ! !
  29. 29. ?
  30. 30. ?
  31. 31. .... * ActionScript 2 / 3( 3) * OOP * Design Pattern
  32. 32. ?
  33. 33. Flash IDE FlashDevelop( !) Flex Builder Flex SDK
  34. 34. Java : JUnit PHP : PHPUnit ActionScript : AsUnit, Sprouts, FlexUnit Python : PyUnit(Built-in Module) ....
  35. 35. AsUnit Unit Testing Framework and it’s Open Source! http://asunit.org/
  36. 36. Sprouts Cross-platform project generation and configuration tool for ActionScript 2 / 3, Adobe AIR and Flex projects. and it’s Open Source, too! http://projectsprouts.org/
  37. 37. .... !
  38. 38. Visual vs Non-Visual Testing
  39. 39. Code!
  40. 40. Sikuli http://groups.csail.mit.edu/uid/sikuli/
  41. 41. Selenium http://seleniumhq.org/
  42. 42. AsUnit http://asunit.org/ Unit testing and Test Driven Development (TDD) for Flex and ActionScript 3.0 http://www.adobe.com/devnet/flex/articles/unit_testing.html Unit testing with AsUnit http://www.insideria.com/2008/09/unit-testing-with-asunit.html Developing Visual Components with AsUnit http://asserttrue.com/articles/2008/01/22/developing-visual-components-with-asunit Software testing http://en.wikipedia.org/wiki/Software_testing
  43. 43. Thank You! 2010/3/13 Kaos’ Digital Network, Ltd. TEL +886-2-2682-4700 No.26, Ln. 248, Junying St., Shulin Dist., New Taipei City 238, Taiwan (R.O.C.) Welcome to visit http://digik.tw for more information!
  44. 44. FAQ ( )
  45. 45. Q: ? A: :) Q: ? A: 2 code( + )
  46. 46. Q: ok ? A: (Test Case) code coverage ? Q: Flash ? A: AsUnit addAsync method class / method Test Case ( UI Tester )

×