improve pytest arguments
This commit is contained in:
parent
a3a0ea328d
commit
57008bc3d2
1 changed files with 3 additions and 4 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue