Class: Suture::Value::TestPlan
- Inherits:
-
Object
- Object
- Suture::Value::TestPlan
- Defined in:
- lib/suture/value/test_plan.rb
Instance Attribute Summary collapse
-
#call_limit ⇒ Object
Returns the value of attribute call_limit.
-
#comparator ⇒ Object
Returns the value of attribute comparator.
-
#database_path ⇒ Object
Returns the value of attribute database_path.
-
#error_message_limit ⇒ Object
Returns the value of attribute error_message_limit.
-
#fail_fast ⇒ Object
Returns the value of attribute fail_fast.
-
#name ⇒ Object
Returns the value of attribute name.
-
#random_seed ⇒ Object
Returns the value of attribute random_seed.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#time_limit ⇒ Object
Returns the value of attribute time_limit.
-
#verify_only ⇒ Object
Returns the value of attribute verify_only.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ TestPlan
constructor
A new instance of TestPlan.
Constructor Details
#initialize(attrs = {}) ⇒ TestPlan
Returns a new instance of TestPlan.
7 8 9 10 11 |
# File 'lib/suture/value/test_plan.rb', line 7 def initialize(attrs = {}) assign_simple_ivars!(attrs, :name, :subject, :fail_fast, :comparator, :database_path) assign_integral_ivars(attrs, :verify_only, :call_limit, :time_limit, :error_message_limit) @random_seed = determine_random_seed(attrs) end |
Instance Attribute Details
#call_limit ⇒ Object
Returns the value of attribute call_limit.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def call_limit @call_limit end |
#comparator ⇒ Object
Returns the value of attribute comparator.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def comparator @comparator end |
#database_path ⇒ Object
Returns the value of attribute database_path.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def database_path @database_path end |
#error_message_limit ⇒ Object
Returns the value of attribute error_message_limit.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def end |
#fail_fast ⇒ Object
Returns the value of attribute fail_fast.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def fail_fast @fail_fast end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def name @name end |
#random_seed ⇒ Object
Returns the value of attribute random_seed.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def random_seed @random_seed end |
#subject ⇒ Object
Returns the value of attribute subject.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def subject @subject end |
#time_limit ⇒ Object
Returns the value of attribute time_limit.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def time_limit @time_limit end |
#verify_only ⇒ Object
Returns the value of attribute verify_only.
3 4 5 |
# File 'lib/suture/value/test_plan.rb', line 3 def verify_only @verify_only end |