gemini-testing / gemini-testing/looks-same

Feature: Percentage-based similarity

Open
#33 1 comment 12 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
827
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Right now, `looks-same` measures each individual pixel, and if even one exceeds the difference tolerance, it returns a failure. It would be nice if there was a mode where we could specify "I expect X% of the pixels to be the same".

In other words, if one or two pixels don't match, then still pass the test, but if a large number of pixels don't match, then it should fail the comparison.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.