pytest必须使用绝对路径
11 9 * * * sh /xxx.sh /xxx/xxx.html /xxx /usr/local/bin/pytest /xxx/xxxx
本文探讨了在执行pytest测试时为何必须使用绝对路径,并通过示例展示了如何在不同的操作系统环境下正确配置和运行pytest,确保测试脚本的稳定执行。
pytest必须使用绝对路径
11 9 * * * sh /xxx.sh /xxx/xxx.html /xxx /usr/local/bin/pytest /xxx/xxxx
6984
483
400

被折叠的 条评论
为什么被折叠?