【前端测试】高效的前端Tdd测试

6,912 views

Published on

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

No Downloads
Views
Total views
6,912
On SlideShare
0
From Embeds
0
Number of Embeds
4,571
Actions
Shares
0
Downloads
113
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

【前端测试】高效的前端Tdd测试

  1. 1. TDD F2E
  2. 2. Unit Testhttp://zh.wikipedia.org/wiki/
  3. 3. •••
  4. 4. •••
  5. 5. “ 25 50 ” —— @KentBeck
  6. 6. TDD (Test Driven Development)“ ” —— @RonJeffries
  7. 7. TLD (Test Later Development)
  8. 8. TFD (Test First Development)
  9. 9. Why TDD•••
  10. 10. JavaScript QUnit Jasmine DOH YUITest JSUnit JSSpec JSpec JSUnity RhinoUnit Evidence JSUnitTest Screw.Unit J3Unit Crosscheck FireUnithttp://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#JavaScript
  11. 11. TDD••••
  12. 12. jsTestDriver • Java • • • xUnit API • JShttp://code.google.com/p/js-test-driver/
  13. 13. Yeti (YUI easy testing interface) • NodeJS • • • YUITest • HTMLhttp://www.yuiblog.com/blog/2010/08/25/introducing-yeti-the-yui-easy-testing-interface/
  14. 14. Yeti• YUI• HTML• windows•
  15. 15. @Reid (Reid Bucke)’s plan • socket.io • Selenium 2.0 WebDriver REST API
  16. 16. •• ATT Auto Task Tool)
  17. 17. • jsxml XML javascript••••
  18. 18. Thank you• @colorhook• colorhook@gmail.com• http://colorhook.com/blog

×