waft.cli.run_e2e module¶
- class waft.cli.run_e2e.PytestRunner(config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f50db06bf90>], systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7f50db3bee90>], args: ~typing.Annotated[list[str] | None, <typer.models.ArgumentInfo object at 0x7f50daf64e10>], prompt: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f50daf64dd0>], limit: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f50daf21790>])¶
Bases:
object
Implements pytest execution interface.
- execute(keep_awake: bool | None = None)¶
Execute pytest using configured WAFT test systems.
- Parameters:
keep_awake (Optional[bool]) – True if execution will keep the system awake. Defaults to None.
- failed_tasks: set[TaskID] = {}¶
- class waft.cli.run_e2e.StatusBarColumn(bar_width: int | None = 40, style: StyleType = 'bar.back', complete_style: StyleType = 'bar.complete', finished_style: StyleType = 'bar.finished', pulse_style: StyleType = 'bar.pulse', table_column: Column | None = None)¶
Bases:
BarColumn
Renders a visual progress bar.
- render(task)¶
Set progress bar widget style for a task.