Pre-Request
Image Compare in Ruby
Simple Note
GemfileAdded gem 'chunky_png'
(so need to run 'bundle install')
test_helper.rbrequire two more modules 'fileutils' and 'chunky_png'
Added class
ActiveSupport::VisualTestingHelper for visual testing
Added test case '
visual_testing_test.rb'
The screenshots will be stored in folder
visualTestingeach test case has its own folder
Almost done the Selenium part, need to build Web App to work with it (e.g., confirm and select new base image via webpage) later.
No comments:
Post a Comment