摘要:
1、下载HTMLTestRunner 这里已经下载好的文件HTMLTestRunner.py """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the 阅读全文
posted @ 2021-06-19 18:50 work hard work smart 阅读(88) 评论(0) 推荐(0)
|
|||
|
摘要:
1、下载HTMLTestRunner 这里已经下载好的文件HTMLTestRunner.py """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the 阅读全文
posted @ 2021-06-19 18:50 work hard work smart 阅读(88) 评论(0) 推荐(0)
摘要:
1、Python单元测试的使用 单元测试代码如下: #coding:utf-8 import unittest class TestMethod(unittest.TestCase): @classmethod def setUpClass(cls): print("类执行之前的方法") @clas 阅读全文
posted @ 2021-06-19 16:58 work hard work smart 阅读(110) 评论(0) 推荐(0)
摘要:
1、requests安装 pip install requests import requests 如果没有报错,说明requests安装成功了。 3、创建Python工程 使用Idea,安装Python插件 创建工程,选择Python,工程名称为pythondemon 在工程名称上右键,点击New 阅读全文
posted @ 2021-06-19 14:57 work hard work smart 阅读(135) 评论(0) 推荐(0) |
|||