本文系《pytest源码剖析》系列内容
正在连载,欢迎关注
8. 内置插件 terminal
插件路径:_pytest.terminal
实现的 hook
hook | tryfirst | trylast | optionalhook | hookwrapper | wrapper |
---|---|---|---|---|---|
pytest_addoption | False | False | False | False | False |
pytest_configure | False | False | False | False | False |
pytest_report_teststatus | False | False | False | False | True |
调用的 hook
-
pytest_report_header
-
pytest_report_collectionfinish
-
pytest