Sha256: 85e8fde4242281923b7b46508051436c2ced090d99149181140d51093c4c43e3

Contents?: true

Size: 970 Bytes

Versions: 52

Compression:

Stored size: 970 Bytes

Contents

require 'rho_stubs'
require 'mspec'

require 'mspec/utils/script'
require 'mspec/version'

class SpecRunner < MSpecScript
  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.expand_path(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

  def run
    MSpec.register_files config[:files]

    MSpec.process
    MSpec.exit_code
  end
end

runner = SpecRunner.new


    retcode = runner.run
    puts "\nMSpec version: "+MSpec::VERSION
    puts "\nTotal:  " + MSpec.count.to_s
    puts "Passed: " + (MSpec.count - MSpec.exc_count).to_s
    puts "Failed: " + MSpec.exc_count.to_s

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
rhodes-7.6.0 lib/test/framework_test.rb
rhodes-7.5.1 lib/test/framework_test.rb
rhodes-7.4.1 lib/test/framework_test.rb
rhodes-7.1.17 lib/test/framework_test.rb
rhodes-6.2.0 lib/test/framework_test.rb
rhodes-6.0.11 lib/test/framework_test.rb
rhodes-5.5.18 lib/test/framework_test.rb
rhodes-5.5.17 lib/test/framework_test.rb
rhodes-5.5.15 lib/test/framework_test.rb
rhodes-5.5.0.22 lib/test/framework_test.rb
rhodes-5.5.2 lib/test/framework_test.rb
rhodes-5.5.0.7 lib/test/framework_test.rb
rhodes-5.5.0.3 lib/test/framework_test.rb
rhodes-5.5.0 lib/test/framework_test.rb
tauplatform-1.0.3 lib/test/framework_test.rb
tauplatform-1.0.2 lib/test/framework_test.rb
tauplatform-1.0.1 lib/test/framework_test.rb
rhodes-3.5.1.12 lib/test/framework_test.rb
rhodes-3.3.5 lib/test/framework_test.rb
rhodes-3.4.2 lib/test/framework_test.rb