Commit 6a31e0b7 authored by KitaitiMakoto's avatar KitaitiMakoto

Test with both REXML and Nokogiri

parent ce06f240
......@@ -39,11 +39,15 @@ namespace :test do
File.rename "#{input_dir}.epub.tmp", "#{input_dir}.epub"
end
Rake::TestTask.new do |task|
task.test_files = FileList['test/**/test_*.rb']
task.warning = true
task.options = '--no-show-detail-immediately --verbose'
# TODO: Test with both REXML and Nokogiri in testing framework
%i[rexml nokogiri].each do |xml_backend|
Rake::TestTask.new "test_with_#{xml_backend}" do |task|
task.test_files = FileList['test/**/test_*.rb']
task.warning = true
task.options = '--no-show-detail-immediately --verbose'
end
end
task :test => [:test_with_rexml, :test_with_nokogiri]
end
task :doc => 'doc:default'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment