1. 首页
  2. 数据库
  3. 其它
  4. Python HTMLTestRunner库安装过程解析

Python HTMLTestRunner库安装过程解析

上传者: 2020-12-23 01:53:52上传 PDF文件 29.76KB 热度 21次
安装 HTMLTestRunner 库的方法非常简单,直接 pip 就可以了 pip install html-testRunner 在 https://pypi.org/ 中可以直接搜索到,并且官方还提供了详细的文档,操作起来非常的简单 官方示例代码: import HtmlTestRunner import unittest class TestStringMethods(unittest.TestCase): def test_upper(self): self.assertEqual('foo'.upper(), 'FOO') def test_error(self
下载地址
用户评论