Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual testing #12

Closed
johansatge opened this issue Nov 28, 2018 · 1 comment
Closed

Visual testing #12

johansatge opened this issue Nov 28, 2018 · 1 comment

Comments

@johansatge
Copy link
Owner

As seen in #11, the existing tests are not enough.

Let's try to introduce visual testing, to make sure the resulting image has been rotated/flipped correctly.

Possible workflow:

  • After rotating the test images, write them on disk
  • Capture the original image with an EXIF-friendly tool (by taking a screenshot with Chrome + puppeteer, for instance?)
  • Run a visual comparison between the two images (with pixelmatch for instance)
This was referenced Nov 28, 2018
@johansatge
Copy link
Owner Author

Done in #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant