Sha256: 4b998b2b2cb3f76b0dd49256fd3f615c515a122dac53a75a83462262256c4c85
Contents?: true
Size: 757 Bytes
Versions: 3
Compression:
Stored size: 757 Bytes
Contents
require 'rake/testtask' desc "Test ROXML using the default parser selection behavior" task :test do require 'rake/runtest' $LOAD_PATH << 'lib' Rake.run_tests 'test/unit/*_test.rb' end namespace :test do desc "Test ROXML under the Nokogiri parser" task :nokogiri do $LOAD_PATH << 'spec' require 'spec/support/nokogiri' Rake::Task["test"].invoke end desc "Test ROXML under the LibXML parser" task :libxml do $LOAD_PATH << 'spec' require 'spec/support/libxml' Rake::Task["test"].invoke end task :load do `ruby test/load_test.rb` puts "Load Success!" if $?.success? end desc "Runs tests under RCOV" task :rcov do system "rcov -T --no-html -x '^/' #{FileList['test/unit/*_test.rb']}" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
roxml-3.1.4 | tasks/test.rake |
roxml-3.1.3 | tasks/test.rake |
roxml-3.1.2 | tasks/test.rake |