bugscpp.processor.test.TestCommandScriptGenerator

class TestCommandScriptGenerator(defect: taxonomy.taxonomy.Defect, coverage: bool, test_command: List[taxonomy.taxonomy.Command], test_cases: Set[int], callbacks: List[Callable], metadata: taxonomy.taxonomy.MetaData, worktree: processor.core.data.Worktree, stream: bool)[source]

Bases: processor.core.command.DockerCommandScriptGenerator

Factory class of CommandScript

__init__(defect: taxonomy.taxonomy.Defect, coverage: bool, test_command: List[taxonomy.taxonomy.Command], test_cases: Set[int], callbacks: List[Callable], metadata: taxonomy.taxonomy.MetaData, worktree: processor.core.data.Worktree, stream: bool)[source]

Methods

__init__(defect, coverage, test_command, ...)

create()

Yield DockerCommandScript.

Attributes

metadata

Metadata information of the current script.

stream

True if command should be streamed, otherwise False.

worktree

Worktree information of the current script.

create() Generator[bugscpp.processor.test.TestCommandScript, None, None][source]

Yield DockerCommandScript.

property metadata

Metadata information of the current script.

property stream

True if command should be streamed, otherwise False.

property worktree

Worktree information of the current script.