Class: Dfect::Suite
Defined Under Namespace
Classes: Test
Instance Attribute Summary collapse
-
#after_all ⇒ Object
readonly
Returns the value of attribute after_all.
-
#after_each ⇒ Object
readonly
Returns the value of attribute after_each.
-
#before_all ⇒ Object
readonly
Returns the value of attribute before_all.
-
#before_each ⇒ Object
readonly
Returns the value of attribute before_each.
-
#tests ⇒ Object
readonly
Returns the value of attribute tests.
Instance Method Summary collapse
-
#initialize ⇒ Suite
constructor
A new instance of Suite.
Constructor Details
#initialize ⇒ Suite
Returns a new instance of Suite.
1052 1053 1054 1055 1056 1057 1058 |
# File 'lib/dfect.rb', line 1052 def initialize @tests = [] @before_each = [] @after_each = [] @before_all = [] @after_all = [] end |
Instance Attribute Details
#after_all ⇒ Object (readonly)
Returns the value of attribute after_all.
1050 1051 1052 |
# File 'lib/dfect.rb', line 1050 def after_all @after_all end |
#after_each ⇒ Object (readonly)
Returns the value of attribute after_each.
1050 1051 1052 |
# File 'lib/dfect.rb', line 1050 def after_each @after_each end |
#before_all ⇒ Object (readonly)
Returns the value of attribute before_all.
1050 1051 1052 |
# File 'lib/dfect.rb', line 1050 def before_all @before_all end |
#before_each ⇒ Object (readonly)
Returns the value of attribute before_each.
1050 1051 1052 |
# File 'lib/dfect.rb', line 1050 def before_each @before_each end |
#tests ⇒ Object (readonly)
Returns the value of attribute tests.
1050 1051 1052 |
# File 'lib/dfect.rb', line 1050 def tests @tests end |