Skip to content

Add custom assert message #48

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

Closed
nelsonthedev opened this issue Sep 19, 2019 · 1 comment
Closed

Add custom assert message #48

nelsonthedev opened this issue Sep 19, 2019 · 1 comment

Comments

@nelsonthedev
Copy link

nelsonthedev commented Sep 19, 2019

Hi, it would be nice to have the ability to provide a custom assert error message on the visualDiff functions, so that it looks better in the reports.

Current assert error message:
MissMatch Percentage 1.86 + expected - actual -false +true

Desired assert error message example:
Images A and B do not match. (MissMatch Percentage 1.86) + expected - actual -false +true

@puneet0191
Copy link
Member

Sure, go ahead and help with the Patch if you can :) otherwise I look into it in some days, thanks a lot

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

No branches or pull requests

2 participants