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. 把文本框嵌入到form

    <form action="/submit-cat-photo"> <input type="text" placeholder=" ...

  2. iOS学习05C语言函数

    本次主要是学习和理解函数,函数树状图如下: 1.函数的声明和定义 函数定义的四要素分别为: 返回值类型 :函数的结果值类型,函数不能返回数组. 指定返回类型是void类型说明函数没有返回值. 函数名 ...

  3. ACM BUYING FEED

    BUYING FEED 时间限制:3000 ms  |  内存限制:65535 KB 难度:4   描述 Farmer John needs to travel to town to pick up ...

  4. HTML5与移动端web学习笔记

    HTML5 提供了很多新的功能,主要有: 新的 HTML 元素,例如 section, nav, header, footer, article 等 用于绘画的 Canvas 元素 用于多媒体播放的 ...

  5. 简单图解设置MYSQL可以通过其他机器远程访问,开启远程访问权限

    开始,运行---cmd,然后cd到mysql.exe目录,然后照着下图红色框中输入 注意: 1.MySQL 5.7查询时候应该输入select host,user,authentication_str ...

  6. 【软件工程实践一】git使用心得

    第一次软工实践,我们需要做的是学习如何使用github,并将本地库的文件添加到远程库中,以下是我进行实践的工程. [一.git的安装及准备工作] 首先从http://msysgit.github.io ...

  7. Implement strStr()

    Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle ...

  8. Defining custom settings in Odoo

    Unfortunately Odoo documentation doesn’t seem to include any information about adding new configurat ...

  9. 内网网段划分ciso交换机配置

    内网3750交换机配置: vlan 192 192.168.101.0/24 端口: 1--8vlan 10 10.10.10.0/24 端口: 9--16vlan 172 172.16.172.2/ ...

  10. POJ2488 dfs

    A Knight's Journey Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 41972   Accepted: 14 ...