Sha256: bee4dcf1648fb5c87bf94b78739c17f3d0b77480879ec0f615d7b455298a362c

Contents?: true

Size: 1.09 KB

Versions: 36

Compression:

Stored size: 1.09 KB

Contents

require 'test_runner/runnable_test_runner'
require 'test_runner/jasmine_test_runner'
require 'test_runner/rspec_runner'
require 'test_runner/run_test_command'
#
# $:.push(File.expand_path(File.join(File.dirname(__FILE__),
#   "vendor", "activesupport-3.0.3", "lib")))
#
# require 'active_support'
# require 'active_support/inflections'
module Redcar
  # This class is your plugin. Try adding new commands in here
  # and putting them in the menus.
  class TestRunner
  
    # This method is run as Redcar is booting up.
    def self.menus
      # Here's how the plugin menus are drawn. Try adding more
      # items or sub_menus.
      Menu::Builder.build do
        sub_menu "Plugins" do
          sub_menu "Test Runner", :priority => 139 do
            item "Run Test", RunTestCommand
          end
        end
      end
    end

    def self.keymaps
      osx = Redcar::Keymap.build("main", :osx) do
        link "Cmd+Alt+T", RunTestCommand
      end
      linwin = Redcar::Keymap.build("main", [:linux, :windows]) do
        link "Ctrl+Alt+T", RunTestCommand
      end
      [osx, linwin]
    end
    
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
redcar-0.13 plugins/test_runner/lib/test_runner.rb
redcar-dev-0.13.5dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.13.4dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.13.3dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.13.2dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.13.1dev plugins/test_runner/lib/test_runner.rb
redcar-0.12.1 plugins/test_runner/lib/test_runner.rb
redcar-dev-0.13.0dev plugins/test_runner/lib/test_runner.rb
redcar-0.12 plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.27dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.26dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.25dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.24dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.23dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.22dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.21dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.20dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.19dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.18dev plugins/test_runner/lib/test_runner.rb
redcar-dev-0.12.17dev plugins/test_runner/lib/test_runner.rb