07 2022 档案
摘要:转:https://zhuanlan.zhihu.com/p/87203290 from faker import Faker fake = Faker(locale='zh_CN') # 设置中文 # 随机名字 print('名字:'+fake.name()) # 随机地址 print('地址:'
阅读全文
摘要:pytest安装 pip install pytest 测试文件 test_*.py *_test.py 用例识别 Test*类包含的所有test_*的方法(测试类不能带有__init__方法) 不在class中的所有的test_*方法 pytest也可以执行unittest框架写的用例与方法 测试
阅读全文

浙公网安备 33010602011771号