測試

993
-1

Published on

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

No Downloads
Views
Total Views
993
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

測試

  1. 1. eddie
  2. 2. http://www.eddie.com.twaquarianboy@ptteddie@digik.com.twaquarianboy@plurkeddiekao@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 Testinghttp://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 IDEFlashDevelop( !)Flex BuilderFlex SDK
  34. 34. Java : JUnitPHP : PHPUnitActionScript : AsUnit, Sprouts, FlexUnitPython : PyUnit(Built-in Module)....
  35. 35. AsUnitUnit Testing Framework and it’s Open Source! http://asunit.org/
  36. 36. SproutsCross-platform project generation andconfiguration 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. Sikulihttp://groups.csail.mit.edu/uid/sikuli/
  41. 41. Seleniumhttp://seleniumhq.org/
  42. 42. AsUnithttp://asunit.org/Unit testing and Test Driven Development (TDD) for Flex and ActionScript 3.0http://www.adobe.com/devnet/flex/articles/unit_testing.htmlUnit testing with AsUnithttp://www.insideria.com/2008/09/unit-testing-with-asunit.htmlDeveloping Visual Components with AsUnithttp://asserttrue.com/articles/2008/01/22/developing-visual-components-with-asunitSoftware testinghttp://en.wikipedia.org/wiki/Software_testing
  43. 43. Thank You! 2010/3/13 Kaos’ Digital Network, Ltd. TEL +886-2-2682-4700No.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 )

×