02 2023 档案

摘要:写excel import pandas as pd """ pandas学习 """ true = True false = False none = None null =None datas = [ { "customerCategoryCode": "1002", "customerCate 阅读全文
posted @ 2023-02-08 14:22 南方的墙 阅读(25) 评论(0) 推荐(0) 编辑
摘要:pytest的规则使用 """ 使用pytest编写用例,必须遵守以下规则: (1)测试文件名必须以“test_”开头或者"_test"结尾(如:test_ab.py) (2)测试类命名以"Test"开头。 (3)测试方法必须以“test_”开头。 conftest.py与运行的用例要在同一个pak 阅读全文
posted @ 2023-02-05 15:55 南方的墙 阅读(186) 评论(0) 推荐(0) 编辑
摘要:一、pytest.ini执行方式含义 [pytest] addopts = -vsq --html=./report.html testpaths = ./testConftest python_files = test*.py python_classes = Test* python_funct 阅读全文
posted @ 2023-02-05 15:44 南方的墙 阅读(92) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示