Class: SpecRunner
- Inherits:
-
MSpecScript
- Object
- MSpecScript
- SpecRunner
- Defined in:
- lib/test/framework_test.rb
Instance Method Summary collapse
-
#initialize ⇒ SpecRunner
constructor
A new instance of SpecRunner.
- #run ⇒ Object
Methods inherited from MSpecScript
config, #config, #custom_options, #custom_register, #entries, #files, get, #load, #load_default, main, #register, set, #signals
Constructor Details
#initialize ⇒ SpecRunner
Returns a new instance of SpecRunner.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/test/framework_test.rb', line 9 def initialize super config[:files] = [] # turn on exception backtrace #MSpec.backtrace = false #Run all the framework specs we can from the spec app spec_folder = File.(File.dirname(__FILE__) + "/../../spec/framework_spec/app/spec") config[:files] << spec_folder + '/rhoerror_spec.rb' config[:files] << spec_folder + '/rhoruby_spec.rb' config[:files] << spec_folder + '/bsearch_spec.rb' config[:files] << spec_folder + '/find_spec.rb' end |