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. iOS Outlets Referencing Outlets

    一位网友的解释: 原址:http://www.cocoachina.com/bbs/read.php?tid-21295.html

  2. Robotium原理初探

    本文转载于:http://blog.csdn.net/jack_chen3/article/details/41927395 测试框架图: Android测试环境的核心是Instrumentation ...

  3. WPF中ComboBox用法

    The ComboBox control is in many ways like the ListBox control, but takes up a lot less space, becaus ...

  4. linux中用shell获取时间,日期

    linux中用shell获取昨天.明天或多天前的日期:在Linux中对man date -d 参数说的比较模糊,以下举例进一步说明:# -d, --date=STRING display time d ...

  5. UIAlertView 与 UIActionSheet (提示用户)的使用方法

    UIAlertView 提示用户  帮助用户选择框 //    UIAlertView *alterView = [[UIAlertView alloc] initWithTitle:@"警 ...

  6. 【BZOJ】1115: [POI2009]石子游戏Kam

    http://www.lydsy.com/JudgeOnline/problem.php?id=1115 题意:n堆石子,个数是从左到右单增.每一次可以从任意堆取出任意石子,但要保持单增这个性质.问先 ...

  7. ThinkPHP3.2.3--相对路径的写法

    window.location.href='/index.php/Home/Manager/login' 以 / 开始,而不是 ./

  8. U-Boot编译过程解析

    解压u-boot-2010.03.tar.bz2就可以得到全部U-Boot源程序.在顶层目录下有29个子目录,分别存放和管理不同的源程序.这些目录中所要存放的文件有其规则,可以分为3类. ● 与处理器 ...

  9. Redis_Spring与Jedis的集成

    首先不得不服Spring这个宇宙无敌的开源框架,几乎整合了所有流行的其它框架,http://projects.spring.io/spring-data/从这上面看,当下流行的redis.solr.h ...

  10. SpringMVC+Thymeleaf如何处理URL中的动态查询参数

    1.使用一个Map<String, String>接收数据 When you request a Map annotated with @RequestParam Spring creat ...