Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 runtests.sh 文件包含以下脚本
我正在尝试获取一个报告文件,该文件应包含 file_1 和文件 2 的执行报告。
您最好的选择是在同一个运行命令中运行这两个文件(如下所示),这会将所有结果合并到同一个报告中。
pytest -v -s file_1.py file_2.py --html=report.html