摘要:
1.安装coverage库 pip install coverage 2. 运行coverage coverage rune --source=. -m unittest discover 3.生成report coverage report -m pip install coverage 阅读全文
摘要:
使用Flask-testing客户端,实现mock server自启动 1.创建mock_server #mock_server.py from flask import Flask, jsonify app = Flask(__name__) @app.route('/api/user',meth 阅读全文
摘要:
参考资料 https://blog.51cto.com/u_16213306/11046902 https://debugtalk.com/post/ApiTestEngine-0-setup-CI-test/ 以下是文心一言对mock server作用的描述: Mock server(模拟服务器) 阅读全文