improve pytest arguments

This commit is contained in:
Daniel 2023-12-09 12:30:06 +01:00
parent a3a0ea328d
commit 57008bc3d2

View file

@ -134,8 +134,7 @@ class Runner:
# command_arguments.append("--traceconfig") # command_arguments.append("--traceconfig")
# command_arguments.append("-v") command_arguments.append("-v")
# command_arguments.append("-rx")
command_arguments.append(str(full_test_path)) command_arguments.append(str(full_test_path))
command_arguments.append("--runner_index") command_arguments.append("--runner_index")
@ -159,13 +158,13 @@ class Runner:
command_arguments.append(str(self.DIR.RECORDS / "traces" / full_test_path.stem)) command_arguments.append(str(self.DIR.RECORDS / "traces" / full_test_path.stem))
# tracing # tracing
command_arguments.append("--tracing") command_arguments.append("--tracing") # "on", "off", "retain-on-failure"
command_arguments.append("retain-on-failure") command_arguments.append("retain-on-failure")
# command_arguments.append("on")
# Disable capturing. With -s set, prints will go to console as if pytest is not there. # Disable capturing. With -s set, prints will go to console as if pytest is not there.
if os.environ.get("PWDEBUG") == "1": if os.environ.get("PWDEBUG") == "1":
command_arguments.append("-s") command_arguments.append("-s")
command_arguments.append("-s")
# headed # headed
# command_arguments.append("--headed") # command_arguments.append("--headed")