力香: 守护!自在! 读书!

导航

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

 

posted on 2016-03-01 15:47  力香  阅读(298)  评论(0编辑  收藏  举报