Hi,
It already works but I would like to refactor that function a bit so that it is more flexible. Also I will have to write docs for it. It should be ready this week.
It works like this:
1) You give it a spec file that you already have.
2) It parses the spec file and throws away everything except page objects.
3) Then it looks into specified storage if there are any sample images
4) The first time there are of course no images, so it will throw an error
5) Then it makes a page dump and copies all the images into that storage in <iteration + 1> folder
6) Next time you run this test it will pick up the images from the storage and will compare it with sample images from previous run
I am not sure what you are looking for, but if you don't like this idea you can also just look at
Rainbow4J from
galen-rainbow4j library and use it for your own solution
Kind regards,
Ivan