mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-18 00:57:36 +08:00
change: generate reports folder in current working directory
This commit is contained in:
@@ -102,7 +102,7 @@ def main():
|
||||
try:
|
||||
for path in args.testfile_paths:
|
||||
summary = runner.run(path, dot_env_path=args.dot_env_path)
|
||||
report_dir = args.report_dir or os.path.join(runner.project_working_directory, "reports")
|
||||
report_dir = args.report_dir or os.path.join(os.getcwd(), "reports")
|
||||
gen_html_report(
|
||||
summary,
|
||||
report_template=args.report_template,
|
||||
|
||||
Reference in New Issue
Block a user