Module: Terraspace::Tester

Extended by:
Memoist, Tester
Included in:
Tester
Defined in:
lib/terraspace/tester.rb,
lib/terraspace/tester/meta.rb,
lib/terraspace/tester/finder.rb

Defined Under Namespace

Classes: Finder, Meta

Constant Summary collapse

@@meta =

The tester metadata

Example meta:

{
  "rspec"  => {root: "/path"}
}
{}

Instance Method Summary collapse

Instance Method Details

#find_with(options = {}) ⇒ Object



22
23
24
# File 'lib/terraspace/tester.rb', line 22

def find_with(options={})
  Finder.new.find_with(options)
end

#metaObject



14
15
16
# File 'lib/terraspace/tester.rb', line 14

def meta
  @@meta
end

#register(tester, data) ⇒ Object



18
19
20
# File 'lib/terraspace/tester.rb', line 18

def register(tester, data)
  @@meta[tester] = data
end