关于Robot Framework、Fitnesse、Cucumber的简单对比
来源:互联网 发布:java bio全称 编辑:程序博客网 时间:2024/04/28 15:15
参考:
http://www.radekw.com/blog/2009/03/27/automation-frameworks/
http://robotframework.googlecode.com/svn/wiki/publications/Quality_Matters_Q1_2009_Collino.pdf
RecentlyI researched many testing frameworks in order to choose one to use at work. Ispent few days practically testing the following frameworks:
· Robot Framework
· FitNesse
· Cucumber
Ichose Robot Framework. It is not perfect, but promising, extensible, and activelydeveloped by the open source community. The following features made me choosethis framework over others:
· Keyword driven
· Ability to use re-usablekeywords
· Large collection of built-inkeywords
· Test cases and suites areHTML documents
· RobotIDE test case editor
· Extendable in Python andJython
· Reporting using HTML and XMLfiles
All this gives a solid base to extendand wrap around in order to create state-of-the art testing framework. Robot framework is easily installable. Examples anddocumentation are more than enough to get automation engineers and testersstarted. It requires some learning and getting used to (especially RobotIDE)but once grasped, creating test cases is easy. Additionally, new keywords can be simplyprogrammed in Python or Jython, or created with existing keywords (macros).Tests are started with a command line tool and can be very simply scheduledusing cron.
FitNesseframework is widely used and popular, but is not as extendable as robotframework. It’s a testing wiki. Test cases are created as tables in wikidocuments and are started by clicking a button on a page. The results show upimmediately, but there is no way to store them. Each test table must have acode fixture written in Java. Other languages can be used with a help of additionalFit servers. Being a wiki,FitNesse cannot be used for automatic and non-interactive testing. Automation can be achieved by usingcommand line runner or ant tasks.
Cucumberis a testing environment that allows testers to write tests in a a domain-specific languagebased on a spoken language. It’s behavior-driven, but all used sentencesmust be mapped in underlying programming language (Ruby by default). It’s easyto transcribe users stories into test cases, but it requires automation engineer to work with testerswriting every test case. On the other hand, it’s a very interesting andamazing way to write unittests.
- 关于Robot Framework、Fitnesse、Cucumber的简单对比
- Robot Framework +Appium的简单教程
- Robot Framework 的安装配置和简单的实例介绍
- Robot Framework 的安装配置和简单的实例介绍
- Robot Framework 的安装配置和简单的实例介绍
- Robot Framework 的安装配置和简单的实例介绍
- 关于robot framework调用python
- Robot Framework +Appium的简单教程及实例
- deviceDriver.py与robot framework结合使用的简单实例
- fitnesse 系列2 一个简单的例子
- 对Robot Framework的理解
- robot framework环境的搭建
- robot framework万能的evaluate
- Robot Framework 的安装配置
- Robot Framework的第一天
- robot framework万能的evaluate
- Robot framework的安装探索
- Robot Framework搭建的文章
- android中dip、px相互换算
- CKEditor入门篇----创建编辑器的方式(1)
- C语言的面向对象设计-对X264/FFMPEG架构探讨
- Activity-android:launchMode的四种加载模式
- [活动通知]Nanjing GDG 2013年4月活动
- 关于Robot Framework、Fitnesse、Cucumber的简单对比
- gcc和g++区别
- Android Looper和Handler分析
- 第一篇文章
- mysql存储过程中不能使用return的解决办法
- 黑马程序员 Day12 交通灯管理系统
- UITableView刷新数据reLoadData
- C++与Java基本数据类型比较
- VC中的定时器(摘录)