Git Product home page Git Product logo

extentreporttemplates's Introduction

extentreportTemplates

extentreportTemplates for httprunner2.0.0

前言

首先感谢尹全旺的上一版贡献. 地址: https://github.com/HttpRunner/extent-report-templates

主要特性

  • 在上一版支持httprunner1.5.15的基础上升级到了httprunner2.0.0;
  • 实现了根据testcases的最后结果进行筛选的功能;
  • 在每一个testcase内也可根据接口的状态对接口进行筛选;

使用方法

  1. 直接下载 extent_reports_httprunner2.0.html;
  2. 在每次运行命令后加上:--report-template 'path/to/extentreportName'
  3. 若使用调用HttpRunner(**kwargs)的方式,则指定kwargs = {"report_template": to_templatepath}

报告示例

extentreporttemplates's People

Contributors

weirdohaibo avatar xweirdo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extentreporttemplates's Issues

开始时间字段展示问题

  1. 原模版开始时间START AT取值对应的时{{time.start_datetime}}。 修改的模版StartTime取的是时间戳{{time.start_at}}。
  2. 但是看xxx.summary.json文件,报表数据中没有time.start_datetime这个字段,但是按原模版替换字段,就能够展示出适合人看的日期时间.
  3. 本人不太懂js和jinja,对前端不甚了解,当然修改后模版能实现过滤查询功能,但是感觉UI展示不是我的菜,不太喜欢。想入坑学习前端,请指教一二

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.