Class: Smartest::Suite

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSuite

Returns a new instance of Suite.



7
8
9
10
11
# File 'lib/smartest/suite.rb', line 7

def initialize
  @tests = TestRegistry.new
  @fixture_classes = FixtureClassRegistry.new
  @matcher_modules = MatcherRegistry.new
end

Instance Attribute Details

#fixture_classesObject (readonly)

Returns the value of attribute fixture_classes.



5
6
7
# File 'lib/smartest/suite.rb', line 5

def fixture_classes
  @fixture_classes
end

#matcher_modulesObject (readonly)

Returns the value of attribute matcher_modules.



5
6
7
# File 'lib/smartest/suite.rb', line 5

def matcher_modules
  @matcher_modules
end

#testsObject (readonly)

Returns the value of attribute tests.



5
6
7
# File 'lib/smartest/suite.rb', line 5

def tests
  @tests
end