Sha256: 222372842f36db028d75721312186a7dd93a6536eef35f89d34914ef287b3df5
Contents?: true
Size: 1.01 KB
Versions: 22
Compression:
Stored size: 1.01 KB
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" task :unitTest do RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = Dir.glob("spec/unit_test/") t.rspec_opts = "--no-drb -r rspec_junit_formatter --format RspecJunitFormatter -o testresults/RubyUnitTest.xml" Rake.application.options.trace = true end Rake::Task["spec"].execute end task :performanceTest do RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = Dir.glob("spec/performance_test/") t.rspec_opts = "--no-drb -r rspec_junit_formatter --format RspecJunitFormatter -o testresults/RubyPerformanceTest.xml" Rake.application.options.trace = true end Rake::Task["spec"].execute end task :functionalTest do RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = Dir.glob("spec/functional_test/") t.rspec_opts = "--no-drb -r rspec_junit_formatter --format RspecJunitFormatter -o testresults/RubyFunctionalTest.xml" Rake.application.options.trace = true end Rake::Task["spec"].execute end
Version data entries
22 entries across 22 versions & 1 rubygems