Git Product home page Git Product logo

htmltestrunnercn's People

Contributors

findyou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

htmltestrunnercn's Issues

添加2.x HTMLRunnerCN之后,生成报告报错

Traceback (most recent call last):
File "F:/RRD/Tech/10.android ui�Զ���/Android-UI -20190410����/runner.py", line 33, in
runner.run(suite())
File "C:\Python27\lib\HTMLTestRunner.py", line 573, in run
self.generateReport(test, result)
File "C:\Python27\lib\HTMLTestRunner.py", line 623, in generateReport
report = self._generate_report(result)
File "C:\Python27\lib\HTMLTestRunner.py", line 688, in _generate_report
self._generate_report_test(rows, cid, tid, n, t, o, e)
File "C:\Python27\lib\HTMLTestRunner.py", line 724, in _generate_report_test
ue = e.decode('utf-8')
File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd7 in position 68: invalid continuation byte

能添加饼状图吗

请问能添加饼状图吗?原版有这个功能。
另外想问下,测试人员的名字怎样生成的?

报告:源代码中有bug——607行

报告:源代码中有bug——607行
有一种情况未覆盖,即执行的用例数为0,导致被除数为0报错
ZeroDivisionError: float division by zero
:octocat: 自己偷偷改了源码
改之前:
image

自己偷偷改了之后:
image

module' object is not callable

** runner = HTMLTestReportCN(stream=f, title="自动化测试报告", description="用例执行情况")
TypeError: 'module' object is not callable**

无法生成报告

利用pycharm和cmd命令测试test_HTMLTestReportCN.py文件,均无法生成报告。脚本里面也写了这个问题,能否解决一下?

已解决·

你好,jenkins :Email extension 新需求,求帮忙 can you help me thank you

大神,又要麻烦你了啊。我现在在搞jenkins邮件发送,附件是可以发送的。但是我想把报告内容展示到正文
需求就是:把htmltestrunner用例嵌入到模板中 作为途中模板的 构建信息的一个item ,需要这样一个py工具,这个好实现吗,能否帮忙研究研究,多谢

大神有空能帮我研究一下python怎样生成一个新的模板
image

jenkins 邮件模板 用

<title>${ENV, var="JOB_NAME"}-第${BUILD_NUMBER}次构建日志</title>
(本邮件是程序自动下发的,请勿回复!)

构建结果 - ${BUILD_STATUS}


构建信息
Changes Since Last Successful Build:
${CHANGES_SINCE_LAST_SUCCESS,reverse=true, format="Changes for Build #%n:
%c
",showPaths=true,changesFormat="
[%a]
%m
",pathFormat="    %p"}
Failed Test Results
$FAILED_TESTS

构建日志 (最后 100行):
<textarea cols="80" rows="30" readonly="readonly" style="font-family: Courier New">${BUILD_LOG, maxLines=100}</textarea>

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.