Sha256: 669c93efe9ca3204e7a4018b76efa1a32c60073d83f9456e19a8b0f0430b5063

Contents?: true

Size: 618 Bytes

Versions: 8

Compression:

Stored size: 618 Bytes

Contents

# wxruby unit test command handler
# Copyright (c) M.J.N. Corino, The Netherlands
#--------------------------------------------------------------------

require 'fileutils'

module WxRuby
  module Commands
    class Test
      def self.description
        "    test\t\t\tRun wxRuby3 regression tests."
      end

      def self.run(argv)
        if argv == :describe
          description
        else
          Dir[File.join(WxRuby::ROOT, 'tests', '*.rb')].each do |test|
            system(RUBY, test)
          end
        end
      end
    end

    self.register('test', Test)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/wxruby/cmd/test.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/wxruby/cmd/test.rb