Class: Canopus::Execution

Inherits:
Object
  • Object
show all
Defined in:
sig/test_runner.rbs

Constant Summary collapse

MAX_OUTPUT_BYTES =

Returns:

  • (Integer)
MAX_PARSE_LINES =

Returns:

  • (Integer)
MAX_FILTER_BYTES =

Returns:

  • (Integer)
ANSI =

Returns:

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Execution

Returns a new instance of Execution.

Parameters:



43
# File 'sig/test_runner.rbs', line 43

def initialize: (Test test, Canopus::Task::Runner::Output output, ?generation: Integer?, ?tests: Array[Test]) -> void

Instance Attribute Details

#generation ⇒ Integer? (readonly)

Returns the value of attribute generation.

Returns:

  • (Integer, nil)


41
42
43
# File 'sig/test_runner.rbs', line 41

def generation
  @generation
end

#output ⇒ Canopus::Task::Runner::Output (readonly)

Returns the value of attribute output.



40
41
42
# File 'sig/test_runner.rbs', line 40

def output
  @output
end

#test ⇒ Test (readonly)

Returns the value of attribute test.

Returns:



38
39
40
# File 'sig/test_runner.rbs', line 38

def test
  @test
end

#tests ⇒ Array[Test] (readonly)

Returns the value of attribute tests.

Returns:



39
40
41
# File 'sig/test_runner.rbs', line 39

def tests
  @tests
end

Class Method Details

.task ⇒ Canopus::Task::definition

Parameters:

  • test (Test)
  • root: (String)
  • tests: (Array[Test])

Returns:

  • (Canopus::Task::definition)


42
# File 'sig/test_runner.rbs', line 42

def self.task: (Test test, root: String, ?tests: Array[Test]) -> Canopus::Task::definition

Instance Method Details

#append ⇒ nil

Parameters:

  • bytes (String, nil)

Returns:

  • (nil)


44
# File 'sig/test_runner.rbs', line 44

def append: (String? bytes) -> nil

#cancel ⇒ true

Returns:

  • (true)


45
# File 'sig/test_runner.rbs', line 45

def cancel: () -> true

#finish ⇒ Result

Parameters:

  • status (Object)

Returns:



46
# File 'sig/test_runner.rbs', line 46

def finish: (untyped status) -> Result