假如工程文件的目录结构如下:
testCase存放用例
testReports存放测试报告
要知道测试报告和测试测试用例所在的位置,需要用到OS模块
执行结果分别如下:D:programStudyautoAPPD:programStudyautoAPP/testReports/D:programStudyautoAPP/testCase/