Class: Canopus::Test

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#column ⇒ Integer (readonly)

Returns the value of attribute column.

Returns:

  • (Integer)


18
19
20
# File 'sig/test_runner.rbs', line 18

def column
  @column
end

#framework ⇒ :minitest, :rspec (readonly)

Returns the value of attribute framework.

Returns:

  • (:minitest, :rspec)


13
14
15
# File 'sig/test_runner.rbs', line 13

def framework
  @framework
end

#groups ⇒ Array[String] (readonly)

Returns the value of attribute groups.

Returns:

  • (Array[String])


16
17
18
# File 'sig/test_runner.rbs', line 16

def groups
  @groups
end

#line ⇒ Integer (readonly)

Returns the value of attribute line.

Returns:

  • (Integer)


17
18
19
# File 'sig/test_runner.rbs', line 17

def line
  @line
end

#name ⇒ String (readonly)

Returns the value of attribute name.

Returns:

  • (String)


15
16
17
# File 'sig/test_runner.rbs', line 15

def name
  @name
end

#offset ⇒ Integer (readonly)

Returns the value of attribute offset.

Returns:

  • (Integer)


19
20
21
# File 'sig/test_runner.rbs', line 19

def offset
  @offset
end

#path ⇒ String (readonly)

Returns the value of attribute path.

Returns:

  • (String)


14
15
16
# File 'sig/test_runner.rbs', line 14

def path
  @path
end

#selector ⇒ String (readonly)

Returns the value of attribute selector.

Returns:

  • (String)


20
21
22
# File 'sig/test_runner.rbs', line 20

def selector
  @selector
end

Class Method Details

.new ⇒ Object



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

def self.new: (:minitest | :rspec framework, String path, String name, Array[String] groups,