欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Cucumber
来自开放百科 - 灰狐
(版本间的差异)
(以“Cucumber 是一个能够理解用自然语言描述测试用例的支持行为驱动开发(Behavior Driven Development,BDD)的自动化测试工具,用 [[Rub...”为内容创建页面) |
小 (→链接) |
||
(未显示1个用户的14个中间版本) | |||
第4行: | 第4行: | ||
gem install cucumber | gem install cucumber | ||
cucumber --help | cucumber --help | ||
+ | |||
+ | ==Gherkin== | ||
+ | Gherkin是一门自然语言,业务代表和项目相关者能够阅读并理解它们,用于编写最终验收测试场景。 | ||
+ | |||
+ | Cucumber读取Gherkin,输出样板代码,它模仿Gherkin的规范规定。Gherkin规范加倍了软件文档的基线,此文档描述了回归测试,解释了基本的应用行为。 | ||
+ | |||
+ | ==语言== | ||
+ | ===Cucumber-JVM=== | ||
+ | [https://github.com/cucumber/cucumber-jvm Cucumber-JVM]可用的编程语言Modules有: | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Language/Platform | ||
+ | ! Jar file | ||
+ | |- | ||
+ | | Java | ||
+ | | cucumber-java | ||
+ | |- | ||
+ | | Clojure | ||
+ | | cucumber-clojure | ||
+ | |- | ||
+ | | Groovy | ||
+ | | cucumber-groovy | ||
+ | |- | ||
+ | | Ioke | ||
+ | | cucumber-ioke | ||
+ | |- | ||
+ | | JavaScript (Rhino interpreter) | ||
+ | | cucumber-rhino | ||
+ | |- | ||
+ | | Python (Jython interpreter) | ||
+ | | cucumber-jython | ||
+ | |- | ||
+ | | Ruby (JRuby interpreter) | ||
+ | | cucumber-jruby | ||
+ | |- | ||
+ | | Scala | ||
+ | | cucumber-scala | ||
+ | |- | ||
+ | | Android | ||
+ | | cucumber-android | ||
+ | |} | ||
+ | |||
+ | ===Cucumber-Ruby=== | ||
+ | https://github.com/cucumber/cucumber | ||
+ | |||
+ | ===Cucumber-Rails=== | ||
+ | https://github.com/cucumber/cucumber-rails | ||
+ | |||
+ | ===Cucumber-JavaScript=== | ||
+ | https://github.com/cucumber/cucumber-js | ||
+ | |||
+ | ===Cucumber-C++=== | ||
+ | https://github.com/cucumber/cucumber-cpp | ||
+ | |||
+ | ===Cucumber-Lua=== | ||
+ | https://github.com/cucumber/cucumber-lua | ||
+ | |||
+ | ===C#/F#=== | ||
+ | [https://github.com/techtalk/SpecFlow SpecFlow] | ||
+ | |||
+ | ==文档== | ||
+ | *[http://docs.huihoo.com/javaone/2015/TUT1607-An-Introduction-to-Behavior-Driven-Development-BDD-with-Cucumber-for-Java.pdf An Introduction to Behavior-Driven Development (BDD) with Cucumber for Java] | ||
==链接== | ==链接== | ||
− | *[http://cukes.info/ | + | *[http://cukes.info/ Cucumber官网] |
− | *[http://www.searchsoa.com.cn/showcontent_74713.htm 开源Cucumber BDD工具加速验收测试自动化 | + | *[http://www.searchsoa.com.cn/showcontent_74713.htm 开源Cucumber BDD工具加速验收测试自动化] |
+ | *[https://www.ibm.com/developerworks/cn/java/j-lo-cucumber01/ Cucumber 使用进阶] | ||
− | [[category: | + | [[category:software testing]] |
[[category:ruby]] | [[category:ruby]] | ||
+ | [[category:java]] |
2016年6月4日 (六) 03:53的最后版本
Cucumber 是一个能够理解用自然语言描述测试用例的支持行为驱动开发(Behavior Driven Development,BDD)的自动化测试工具,用 Ruby 编写,支持 Java 和 .NET 等多种开发语言,加速验收测试自动化。
目录 |
[编辑] 指南
gem install cucumber cucumber --help
[编辑] Gherkin
Gherkin是一门自然语言,业务代表和项目相关者能够阅读并理解它们,用于编写最终验收测试场景。
Cucumber读取Gherkin,输出样板代码,它模仿Gherkin的规范规定。Gherkin规范加倍了软件文档的基线,此文档描述了回归测试,解释了基本的应用行为。
[编辑] 语言
[编辑] Cucumber-JVM
Cucumber-JVM可用的编程语言Modules有:
Language/Platform | Jar file |
---|---|
Java | cucumber-java |
Clojure | cucumber-clojure |
Groovy | cucumber-groovy |
Ioke | cucumber-ioke |
JavaScript (Rhino interpreter) | cucumber-rhino |
Python (Jython interpreter) | cucumber-jython |
Ruby (JRuby interpreter) | cucumber-jruby |
Scala | cucumber-scala |
Android | cucumber-android |
[编辑] Cucumber-Ruby
https://github.com/cucumber/cucumber
[编辑] Cucumber-Rails
https://github.com/cucumber/cucumber-rails
[编辑] Cucumber-JavaScript
https://github.com/cucumber/cucumber-js
[编辑] Cucumber-C++
https://github.com/cucumber/cucumber-cpp
[编辑] Cucumber-Lua
https://github.com/cucumber/cucumber-lua
[编辑] C#/F#
[编辑] 文档
[编辑] 链接
分享您的观点