Pytest学习网站

https://confluence.xpand-it.com/display/public/XRAY/Taking+advantage+of+JUnit+XML+reports

https://docs.pytest.org/en/latest/usage.html#record-xml-attribute

https://docs.pytest.org/en/3.7.2/_modules/_pytest/junitxml.html

https://docs.pytest.org/en/latest/builtin.html

https://docs.qameta.io/allure/#_behave

https://stackoverflow.com/questions/57216970/write-pytest-test-function-return-value-to-file-with-pytest-hookimpl

hook函数介绍:
https://docs.pytest.org/en/latest/writing_plugins.html#hook-function-ordering-call-example

https://docs.pytest.org/en/latest/reference.html#reporting-hooks

官网例子:
http://doc.pytest.org/en/latest/example/simple.html#post-process-test-reports-failures

api 文档:
https://docs.pytest.org/en/latest/reference.html#_pytest.hookspec.pytest_runtest_makereport

pulgins 和hook:
https://docs.pytest.org/en/2.7.3/plugins.html?highlight=re

https://docs.pytest.org/en/latest/example/simple.html

其他网站hook例子:
https://www.codementor.io/@adammertz/writing-a-simple-pytest-hook-zc5wvoj5t

还有b站的一个echooooo有讲fixture的那段视频讲的很清楚

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容