Sha256: d9665fa456804c9a375d3c3d685469bc0418afa9eadb031941adff4ab643f508
Contents?: true
Size: 797 Bytes
Versions: 2
Compression:
Stored size: 797 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" require "rake/testtask" task default: :test Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/**/*_test.rb"] end Rake::TestTask.new("test:integration") do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/integration/**/*_test.rb"] end task "clobber" do puts "Cleanup tmp/*.png" FileUtils.rm_rf(Dir["./tmp/*"]) end task "test:benchmark" do require_relative "scripts/benchmark/find_region_benchmark" benchmark = Capybara::Screenshot::Diff::Drivers::FindRegionBenchmark.new puts "For Medium Screen Size: 800x600" benchmark.for_medium_size_screens puts "" puts "*" * 100 puts "For Small Screen Size: 80x60" benchmark.for_small_images end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara-screenshot-diff-1.9.2 | Rakefile |
capybara-screenshot-diff-1.9.0 | Rakefile |