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. HDU5724 Chess(SG定理)

    题目 Source http://acm.hdu.edu.cn/showproblem.php?pid=5724 Description Alice and Bob are playing a spe ...

  2. 【BZOJ1060】[ZJOI2007]时态同步 树形DP

    [BZOJ1060][ZJOI2007]时态同步 Description 小Q在电子工艺实习课上学习焊接电路板.一块电路板由若干个元件组成,我们不妨称之为节点,并将其用数字1,2,3-.进行标号.电路 ...

  3. Issues I encountered when building Windows Store apps on a new laptop

    I took over my beloved wives samsung ativ book 9 recently as her first job granted her a brandnew su ...

  4. 洛谷 P1038 神经网络 Label:拓扑排序 && 坑 60分待查

    题目背景 人工神经网络(Artificial Neural Network)是一种新兴的具有自我学习能力的计算系统,在模式识别.函数逼近及贷款风险评估等诸多领域有广泛的应用.对神经网络的研究一直是当今 ...

  5. UIButton在Disabled状态下标题混乱的问题

    最近开发中遇到的问题汇总 有段时间没有归纳开发中遇到的一些问题了,今天就写一下之前开发中遇到的几个问题.希望这 篇文章能让读者在以后的开发中少走弯路.本文将依次介绍<UIButton在Disab ...

  6. Java_cookie 和session 的区别详解

    这些都是基础知识,不过有必要做深入了解.先简单介绍一下. 二者的定义: 当你在浏览网站的时候,WEB 服务器会先送一小小资料放在你的计算机上,Cookie 会帮你在网站上所打的文字或是一些选择, 都纪 ...

  7. js之获取窗口大小和位置信息

    除IE外的浏览器查看窗口大小和位置信息: //The overall size of the browser window on the desktop var windowWidth = windo ...

  8. e.Handled的理解

    private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)         {    ...

  9. css去掉使用bootstrap框架后打印网页时预览效果下的超链接

    在我们写网页的时候,超链接是链接各个页面的桥梁,也是搜索引擎爬虫(spider)收录网站页面的关键,因此,在每个网页中会有许多的超链. 今天,一个同行妹妹在使用了bootstrap框架来搭建自己的网站 ...

  10. iOS中的通知

    一.了解几个相关的类 1.NSNotification 这个类可以理解为一个消息对象,其中有三个成员变量. 这个成员变量是这个消息对象的唯一标识,用于辨别消息对象. @property (readon ...