lib/actir/parallel_tests/cli.rb in actir-1.2.0 vs lib/actir/parallel_tests/cli.rb in actir-1.2.1

- old
+ new

@@ -329,13 +329,14 @@ "---------------------------------------------------------------------------------------------\n" end # 生成详细报告 def detail_report - @report_path = File.join($project_path, 'test_report') + @report_path = File.join($project_path, 'report') Dir::mkdir(@report_path) if not File.directory?(@report_path) time = Time.now.strftime('%Y%m%d_%H%M%S') - file_path = File.join(@report_path, "REPORT_#{time}.html") + # file_path = File.join(@report_path, "REPORT_#{time}.html") + file_path = File.join(@report_path, "index.html") file = File.new(file_path,"w") report = HtmlReport.new(file) end end