码迷,mamicode.com
首页 >  
搜索关键字:testrunner    ( 44个结果
unittest各个组件之间的关系
各个组件的含义: TestCase:测试用例,测试用例里面会有很多测试方法,是单元测试中最小维度的测试行为。 TestSuite:测试套件,是测试用例的集合。 TestFixure:测试固件,测试准备工作和收尾工作,打开和关闭浏览器,链接和关闭数据库,可有可无 TestRunner:测试运行器,运行 ...
分类:其他好文   时间:2019-04-10 13:35:05    阅读次数:187
Common tasks that you can perform with the Groovy Script test step
To obtain the object which refers to the containing test case, use the following code snippet: Groovy def case = testRunner.testCase; By using the tes ...
分类:其他好文   时间:2019-02-26 19:39:15    阅读次数:150
TestSuite测试报告生成
简介:HTMLTestRuner介绍 1, 无法使用pip安装,手工下载 2, python3和python2语法不一致导致了HTMLTestRunner在py3中不兼容 解决办法:导入下面的HTMLTestRunner.py """ A TestRunner for use with the Py ...
分类:其他好文   时间:2018-11-11 20:14:26    阅读次数:219
Robot framework-ride 多次运行有时候不显示日志信息
robotframework运行中断后或重复运行后,ride中经常会出现控制台不显示日志信息,主要原因是因为编码不支持中文的原因 解决方法: 修改"C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunner.py"文件po ...
分类:其他好文   时间:2018-10-17 00:00:35    阅读次数:333
python3也支持的HTMLTestRunner
1 """ 2 A TestRunner for use with the Python unit testing framework. It 3 generates a HTML report to show the result at a glance. 4 5 The simplest way... ...
分类:编程语言   时间:2018-09-28 13:46:43    阅读次数:130
robotframework运行时后台报错UnicodeDecodeError,无日志输出
解决办法: 1、找到对应位置的testrunner.py文件,修改字符集为GBK 2、删除同级目录下的testrunner.pyc 3、重启ride ...
分类:其他好文   时间:2018-09-05 23:52:49    阅读次数:247
HTMLTestRunner.py
""" A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use th... ...
分类:Web程序   时间:2018-07-28 00:11:21    阅读次数:158
robotframework-ride多次运行,有时候不显示日志信息
robotframework运行中断后或重复运行后,ride中经常会出现控制台不显示日志信息,主要原因是因为编码不支持中文的原因 解决方法: 修改"C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunner.py"文件po ...
分类:其他好文   时间:2018-07-16 11:20:23    阅读次数:316
UI自动化web端框架HTMLTestRunner.py代码
# -*- coding: utf-8 -*-"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The si ...
分类:Web程序   时间:2018-07-05 14:54:51    阅读次数:231
selenium之百度搜索+有道翻译的简单testcase执行-----用例报告(HTMLTestRunner)
本篇主要实现selenium自动化测试之百度搜索+有道翻译的简单测试用例执行,并通过HTML TestRunner生成html测试报告.这是前不久跟着视频学习的时候,练习的第一个HTMLTestRunner脚本,基于python3的脚本。 test_baidu,py test_youdao.py a ...
分类:Web程序   时间:2018-06-06 12:30:10    阅读次数:342
44条   上一页 1 2 3 4 5 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!