Class Expectations::SuiteRunner
In: lib/expectations/suite_runner.rb
Parent: Object

Methods

do_not_run   new   suite_eval  

Included Modules

Singleton

Attributes

suite  [RW] 

Public Class methods

[Source]

    # File lib/expectations/suite_runner.rb, line 12
12:   def self.do_not_run
13:     self.instance.suite.do_not_run
14:   end

[Source]

    # File lib/expectations/suite_runner.rb, line 5
 5:   def initialize
 6:     self.suite = Expectations::Suite.new
 7:     at_exit do
 8:       exit 1 unless suite.execute.succeeded?
 9:     end
10:   end

[Source]

    # File lib/expectations/suite_runner.rb, line 16
16:   def self.suite_eval(&block)
17:     self.instance.suite.instance_eval(&block)
18:   end

[Validate]