通过将log_cli配置设置为true,pytest 将输出日志记录到控制台。 如果需要将整个测试产生的日志记录记录到一个文件中,可以通过--log-file=/path/to/log/ ...
確定! 回上一頁