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

【前端测试】打造自动化的持续集成测试系统

on

  • 9,755 views

 

Statistics

Views

Total Views
9,755
Views on SlideShare
3,067
Embed Views
6,688

Actions

Likes
4
Downloads
86
Comments
0

33 Embeds 6,688

http://www.d2forum.org 4455
http://clayliao.blogspot.com 1432
http://clayliao.blogspot.tw 687
http://clayliao.blogspot.hk 29
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
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

【前端测试】打造自动化的持续集成测试系统 【前端测试】打造自动化的持续集成测试系统 Presentation Transcript

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