【前端测试】打造自动化的持续集成测试系统
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • 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
9,877
On Slideshare
3,167
From Embeds
6,710
Number of Embeds
33

Actions

Shares
Downloads
86
Comments
0
Likes
4

Embeds 6,710

http://www.d2forum.org 4,455
http://clayliao.blogspot.com 1,432
http://clayliao.blogspot.tw 700
http://clayliao.blogspot.hk 38
http://feeds2.feedburner.com 12
http://cache.baidu.com 12
http://www.itfeed.cn 11
http://feeds.feedburner.com 10
http://clayliao.blogspot.jp 7
http://clayliao.blogspot.ca 4
http://xianguo.com 3
http://reader.youdao.com 3
http://www.chengxuyuans.com 2
http://www.clayliao.blogspot.com 2
http://www.d2forum.org} {1245517336|||pingback 1
http://clayliao.blogspot.se 1
http://tw.yahoo.com&_=1382937979904 HTTP 1
http://digg.com 1
http://clayliao.blogspot.fi 1
http://www.d2forum.org} {1002141479|||pingback 1
http://clayliao.blogspot.sg 1
http://www.d2forum.org} {254243672|||pingback 1
http://www.d2forum.org} {1135112126|||pingback 1
http://www.d2forum.org} {583978483|||pingback 1
http://www.d2forum.org} {1245517053|||pingback 1
http://www.d2forum.org} {1245517153|||pingback 1
http://markup.io 1
http://api.markup.io 1
http://clayliao.blogspot.com.au 1
http://clayliao.blogspot.in 1
http://www.d2forum.org} {635098260|||pingback 1
http://www.slideshare.net 1
http://x.wt 1

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. 测试 – 动 续 测试 统 Yahoo! 师 July 8, 2011
  • 2. About  /Clay Liao   /Twitter @clayliao
  • 3. Agenda  简 续 Continuous Integration, CI  独 YUI Test  实浏览 测试 -- Selenium  续 块 图 -- Hudson  Live Demo 2
  • 4. 3
  • 5. 续CONTINUOUS INTEGRATION 4
  • 6. 续  将 码 为 维护  针对这 单 测试  码 统 产 Commit Build 报  统 时间 动 码 经过 测试 产 Nightly Build 报  Exploration Testing
  • 7. 6
  • 8. 拟 实浏览 环 为 7
  • 9. Sample codevar testcase = new YUITest.TestCase({ Name: ”Sample Test Case”, testSomething: function(){ YUITest.Assert.isTrue(true); }, “Test Something”: function(){ YUITest.Assert.isTrue(true); }}); 8
  • 10. 浏览 YUI Test
  • 11. AJAX 测试 10
  • 12. 测试 11
  • 13. 码 盖 12
  • 14. 逻辑 测试function(){ if(condition){ doSomething(); } else { doSomethingElse(); }} 13
  • 15. 独 运 JS 14
  • 16. HUDSON SELENIUM为 续 统 15
  • 17. Selenium   Web Application testing system   Functional testing   实浏览 环 测试 http://seleniumhq.org/ 16
  • 18. Selenium IDE   Firefox   錄 步   17
  • 19. Selenium Remote Control 18
  • 20. Selenium RC 19
  • 21. Hudson   Continuous build/testing system   http://hudson-ci.org/ 20
  • 22. ?Hudson Selenium RC 21
  • 23. Hudson Selenium Selenium Driver RC 22
  • 24. 23
  • 25. YUI TEST + SELENIUM 24
  • 26. YUI Testjava -jar yuitest-selenium-driver.jar–resultsdir ~/resultshttp://127.0.0.1/basic-usage-example.htm 25
  • 27. 动开启浏览 测试
  • 28. 27
  • 29. YUI TEST + SELENIUM + HUDSON 28
  • 30. Test Job in Hudson 29
  • 31. 30
  • 32. LIVE DEMO 31
  • 33. YUI TEST+ SELENIUM+ HUDSON= 32
  • 34. Reference  https://github.com/nzakas/yuitest  http://yuilibrary.com/yuitest/  http://www.yuiblog.com/blog/2010/11/09 /introducing-the-new-yui-test/  http://developer.yahoo.com/yui/3/test/ 33
  • 35. Questions?