Class: DIFECTS::Suite

Inherits:
Object
  • Object
show all
Defined in:
lib/difects.rb

Defined Under Namespace

Classes: Test

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSuite

Returns a new instance of Suite.



1105
1106
1107
1108
1109
1110
1111
# File 'lib/difects.rb', line 1105

def initialize
  @tests       = []
  @before_each = []
  @after_each  = []
  @before_all  = []
  @after_all   = []
end

Instance Attribute Details

#after_allObject (readonly)

Returns the value of attribute after_all.



1103
1104
1105
# File 'lib/difects.rb', line 1103

def after_all
  @after_all
end

#after_eachObject (readonly)

Returns the value of attribute after_each.



1103
1104
1105
# File 'lib/difects.rb', line 1103

def after_each
  @after_each
end

#before_allObject (readonly)

Returns the value of attribute before_all.



1103
1104
1105
# File 'lib/difects.rb', line 1103

def before_all
  @before_all
end

#before_eachObject (readonly)

Returns the value of attribute before_each.



1103
1104
1105
# File 'lib/difects.rb', line 1103

def before_each
  @before_each
end

#testsObject (readonly)

Returns the value of attribute tests.



1103
1104
1105
# File 'lib/difects.rb', line 1103

def tests
  @tests
end