link

Generate cucumber report by json website

Sample as json file for cucumber report:

[
{
"keyword": "Feature",
"name": "Hello World Feature",
"description": "In order to ensure that my installation works\nAs a Developer\nI want to run a quick Cucumber test",
   "tags": [ { "name": "@test3" } ],
"id": "hello-world-feature",
"uri": "features/unitest1.feature",
"elements": [
{
"keyword": "Scenario",
"name": "Hello World Scenario",
"description": "",
"tags": [
{
"name": "@test"
}
],
"steps": [
{
"keyword": "Given ",
"name": "The Action is Hello",
"doc_string": {
"value": "describe \"an example\" do\n it \"has not yet been implemented\"\nend"
},
"output": [
"This is before hook."
],
"result": {
"status": "failed",
"error_message": "Your block takes 1 argument, but the Regexp matched 2 arguments. (Cucumber::ArityMismatchError)\nfeatures/step_denfinitions/step_steps.rb:3:in `/The Action is ([A-z]*)/'\nfeatures/unitest1.feature:8:in `Given The Action is Hello'",
"duration": 198435
}
},
{
"keyword": "When ",
"name": "The Subject is World",
"result": {
"status": "skipped"
}
},
{
"keyword": "Then ",
"name": "The Greeting is Hello, World",
"result": {
"status": "skipped"
},
"output": [
"This is after hook."
]
}
]
},
{
"keyword": "Scenario",
"name": "Test World Scenario",
"description": "",
"steps": [
{
"keyword": "Given ",
"name": "The Action is Test",
"output": [
"This is before hook."
],
"result": {
"status": "passed",
"duration": 24000
}
},
{
"keyword": "When ",
"name": "The Subject is World",
"result": {
"status": "passed",
"duration": 17540
}
},
{
"keyword": "Then ",
"name": "The Greeting is Test, World",
"result": {
"status": "passed",
"duration": 20401531
},
"output": [
"This is after hook."
]
}
]
}
]
}
]

cucumber learning : http://www.cnblogs.com/puresoul/category/340832.html的更多相关文章

  1. http://www.cnblogs.com/chillsrc/category/49632.html

    http://www.cnblogs.com/chillsrc/category/49632.html

  2. https://www.cnblogs.com/skywang12345/category/455711.html

    https://www.cnblogs.com/skywang12345/category/455711.html

  3. Linq入门博客系列地址http://www.cnblogs.com/lifepoem/category/330218.html

    http://www.cnblogs.com/lifepoem/category/330218.html Linq及LambdaSql语句: http://kb.cnblogs.com/page/42 ...

  4. python编程基础:《http://www.cnblogs.com/wiki-royzhang/category/466416.html》

    windows自动化 http://www.cnblogs.com/wiki-royzhang/category/466416.html

  5. jmeter接口自动化集成

    接口自动化集成 一.jmeter基础学习 1.博客  :http://www.cnblogs.com/fnng/category/345478.html 2.博客   http://www.cnblo ...

  6. Python3自动化学习地址

    w3社区https://www.w3cschool.cn/python/ 易百教程https://www.yiibai.com/ http://www.cnblogs.com/yangxia-test ...

  7. deep learning 的综述

    从13年11月初开始接触DL,奈何boss忙or 各种问题,对DL理解没有CSDN大神 比如 zouxy09等 深刻,主要是自己觉得没啥进展,感觉荒废时日(丢脸啊,这么久....)开始开文,即为记录自 ...

  8. Deep Learning学习随记(一)稀疏自编码器

    最近开始看Deep Learning,随手记点,方便以后查看. 主要参考资料是Stanford 教授 Andrew Ng 的 Deep Learning 教程讲义:http://deeplearnin ...

  9. URL List by Category

    URLs List AI https://www.cnblogs.com/zlel/p/8882129.html Javascript Promise http://liubin.org/promis ...

随机推荐

  1. 每天一个linux命令---useradd

    1.添加用户 useradd  选项  用户名 其中各选项含义如下: -c comment 指定一段注释性描述.-d 目录 指定用户主目录,如果此目录不存在,则同时使用-m选项,可以创建主目录.-g ...

  2. 【原】iOS学习45之多媒体操作

    1. 音频 1> 音频实现简述 iOS 里面共有四种专门实现播放音频的方式: System Sound Services(系统声音服务) OpenAL(跨平台的开源的音频处理接口) Audio ...

  3. 关于使用rem单位,calc()进行自适应布局

    关于css中的单位 大家都知道在css中的单位,一般都包括有px,%,em等单位,另外css3新增加一个单位rem. 其中px,%等单位平时在传统布局当中使用的比较频繁,大家也比较熟悉,不过px单位在 ...

  4. topcoder SRM 625 DIV2 AddMultiply

    由于题目告诉肯定至少存在一种解, 故只需要根据条件遍历一下, vector <int> makeExpression(int y) { vector<int> res; ; i ...

  5. [Cocos2D-x For WP8]ParallaxNode视差

    视差就是从有一定距离的两个点上观察同一个目标所产生的方向差异.从目标看两个点之间的夹角,叫做这两个点的视差角,两点之间的距离称作基线.只要知道视差角度和基线长度,就可以计算出目标和观测者之间的距离.游 ...

  6. BZOJ3835: [Poi2014]Supercomputer

    Description Byteasar has designed a supercomputer of novel architecture. It may comprise of many (id ...

  7. ThinkPHP3.2.3--Linux服务器首页文件index.php路径配置问题

    在windows服务器环境下,可以define ('SITE_URL','http://192.168.1.101/'); 但上传到linux服务器环境下不能正常解析,可使用相对路径:define ( ...

  8. 如何处理json字符转换为字典

    NSURL *URL = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@?userName=%@&userPwd=%@& ...

  9. 0代码隐藏GroupedTableView上边多余的间隔

    0代码隐藏GroupedTableView上边多余的间隔 实现诸如支付宝的 “探索” 页面时,最简单的方案是在 Storyboard 中来一个静态 Grouped UITableViewControl ...

  10. Java_Servlet 中文乱码问题及解决方案剖析

    一.常识了解 1.GBK包含GB2312,即如果通过GB2312编码后可以通过GBK解码,反之可能不成立; 2.java.nio.charset.Charset.defaultCharset() 获得 ...