Cucumber

http://www.ibm.com/developerworks/library/a-automating-ria/

Cucumber is a testing framework that helps to bridge the gap between software developers and business managers.

 

  • Given provides context for the test scenario about to be executed, such as the point in your application that the test occurs as well as any prerequisite data.
  • When specifies the set of actions that triggers the test, such as user or subsystem actions.
  • Then specifies the expected result of the test.

There are two ways to drive a browser with Selenium:
1.Selenium-RC uses JavaScript to drive the web page and runs inside the JavaScript sandbox.
2.WebDriver uses native automation, which is faster and less prone to errors but is supported by fewer browsers.

 

 

有价值的网站

 

http://www.rubydoc.info/gems/cucumber/Cucumber/Rake/Task

 

转载于:https://www.cnblogs.com/worklog/p/5231297.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值