Class: Suture::Value::TestPlan

Inherits:
Object
  • Object
show all
Defined in:
lib/suture/value/test_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_limitObject

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

#comparatorObject

Returns the value of attribute comparator.



3
4
5
# File 'lib/suture/value/test_plan.rb', line 3

def comparator
  @comparator
end

#database_pathObject

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_limitObject

Returns the value of attribute error_message_limit.



3
4
5
# File 'lib/suture/value/test_plan.rb', line 3

def error_message_limit
  @error_message_limit
end

#fail_fastObject

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

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/suture/value/test_plan.rb', line 3

def name
  @name
end

#random_seedObject

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

#subjectObject

Returns the value of attribute subject.



3
4
5
# File 'lib/suture/value/test_plan.rb', line 3

def subject
  @subject
end

#time_limitObject

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_onlyObject

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