Sha256: 5889410e03ab571c623c2c232d776a0d48380300730b9fa8e5e1e5b0510869f5

Contents?: true

Size: 608 Bytes

Versions: 25

Compression:

Stored size: 608 Bytes

Contents

module Spec
  module Rake
    class SpecTask
      def deep_test(options)
        deep_test_options = DeepTest::Options.new(options)
        deep_test_path = File.expand_path(File.dirname(__FILE__) + 
                                          "/../../../deep_test")
        @deep_test_spec_opts = [
          "--require #{deep_test_path}",
          "--runner 'DeepTest::Spec::Runner:#{deep_test_options.to_command_line}'"
        ]
        spec_opts.concat @deep_test_spec_opts
      end

      def spec_opts=(options)
        @spec_opts = (@deep_test_spec_opts || []) + options
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
jason-o-matic-deep_test-1.2.2.1 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.10 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.11 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.12 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.13 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.14 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.2 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.3 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.4 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.5 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.6 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.7 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.8 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.9 lib/deep_test/spec/extensions/spec_task.rb
jperkins-deep_test-1.2.2 lib/deep_test/spec/extensions/spec_task.rb
jason-o-matic-deep_test-1.2.2.15 lib/deep_test/spec/extensions/spec_task.rb
jstorimer-deep-test-1.4.0 lib/deep_test/spec/extensions/spec_task.rb
jstorimer-deep-test-1.3.0 lib/deep_test/spec/extensions/spec_task.rb
jstorimer-deep-test-1.2.0 lib/deep_test/spec/extensions/spec_task.rb
jstorimer-deep-test-1.1.0 lib/deep_test/spec/extensions/spec_task.rb