Sha256: 2e6cf3eb1eaa6f8452235daac4a89d7c3e6b8c4aeab5c0ce5831ed1bd59c3b66

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

module JsTestDriver
  module CLI

    class RunTests

      attr_reader :jstd_jar_command, :runner

      def initialize(jstd_jar_command, runner)
        @jstd_jar_command = jstd_jar_command
        @runner = runner
      end

      def run(opts = {})
        jstd_jar_command.with_config.run_tests(opts[:tests]).reset_runner

        runner.run(jstd_jar_command.to_s)
      end

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
js-test-driver-rails-0.5.0.pre5 lib/js_test_driver/cli/run_tests.rb
js-test-driver-rails-0.5.0.pre4 lib/js_test_driver/cli/run_tests.rb
js-test-driver-rails-0.5.0.pre3 lib/js_test_driver/cli/run_tests.rb