測試

  • 895 views
Uploaded on

 

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
895
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. eddie
  • 2. http://www.eddie.com.twaquarianboy@ptteddie@digik.com.twaquarianboy@plurkeddiekao@facebook
  • 3. ....
  • 4. ....
  • 5. Test-Driven Development (TDD)
  • 6. WHY? ?Every Programmer Makes Mistakes!!
  • 7. WHY NOT? ?No Time!Boring!Hey! I’m an experienced programmer!
  • 8. WHO? ?? PM? ? ? ? ?
  • 9. HOW? ?...click...click...click.... ... ....
  • 10. WHAT? ? !
  • 11. !!
  • 12. ....Deadline-Driven Development
  • 13. ....Stupid-Client-Driven Development
  • 14. ... ( ) !( !)
  • 15. !
  • 16. Test-Driven Development (TDD)
  • 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. What’s UNIT?A unit is the smallest piece of code that is testable, a piece of code that performs a specific task!
  • 19. Test != Debug
  • 20. Waterfall Development → → Code → →http://en.wikipedia.org/wiki/Waterfall_model
  • 21. ?* !* !
  • 22. TDD?” ”
  • 23. !
  • 24. Function
  • 25. ( )
  • 26. ...code ?
  • 27. (Test Case) ...
  • 28. ! !
  • 29. ?
  • 30. ?
  • 31. ....* ActionScript 2 / 3( 3)* OOP* Design Pattern
  • 32. ?
  • 33. Flash IDEFlashDevelop( !)Flex BuilderFlex SDK
  • 34. Java : JUnitPHP : PHPUnitActionScript : AsUnit, Sprouts, FlexUnitPython : PyUnit(Built-in Module)....
  • 35. AsUnitUnit Testing Framework and it’s Open Source! http://asunit.org/
  • 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. .... !
  • 38. Visual vs Non-Visual Testing
  • 39. Code!
  • 40. Sikulihttp://groups.csail.mit.edu/uid/sikuli/
  • 41. Seleniumhttp://seleniumhq.org/
  • 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. 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. FAQ( )
  • 45. Q: ?A: :)Q: ?A: 2 code( + )
  • 46. Q: ok ?A: (Test Case) code coverage ?Q: Flash ?A: AsUnit addAsync method class /method Test Case ( UI Tester )