Sha256: da14af522450b0f972dc5063b7b499ba7ce3e9418e17bd36355112b005d6dd1d
Contents?: true
Size: 851 Bytes
Versions: 5
Compression:
Stored size: 851 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require "rake/testtask" namespace :test do Rake::TestTask.new :unit do |t| t.pattern = 'test/unit/test_*.rb' end task :integration do options = {} options[:mode] = ENV['mode'] options[:test_name] = ENV['test'] options[:auth_type] = ENV['auth_type'] if !['recorded', 'live'].include?(options[:mode]) puts "Invalid test mode" else require "test/integration/test_runner" test_runner = PulpMiniTestRunner.new if options[:test_name] puts "Running tests for: #{options[:test_name]}" puts "Using #{options[:mode]} Pulp." test_runner.run_tests(options) else puts "Running full test suite." puts "Using #{options[:mode]} data." test_runner.run_tests(options) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
runcible-0.0.5 | Rakefile |
runcible-0.0.4 | Rakefile |
runcible-0.0.3 | Rakefile |
runcible-0.0.2 | Rakefile |
runcible-0.0.1 | Rakefile |