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

Tests may invoke diff tool too many times #278

Open
ForNeVeR opened this issue Aug 16, 2020 · 1 comment
Open

Tests may invoke diff tool too many times #278

ForNeVeR opened this issue Aug 16, 2020 · 1 comment
Assignees

Comments

@ForNeVeR
Copy link
Owner

Currently, ApprovalTests.NET will call the diff tool automatically on any test failure, if the test failure has been caused by changes in the test JSON data. This is sometimes inconvenient, as with bug changes in the infrastructure it may cause huge number of diff tool invocation to start all at once. For example, see this comment.

I think we should somehow tune or disable this ApprovalTests.NET behavior.

@ygra
Copy link
Contributor

ygra commented Sep 5, 2020

DiffEngine seems to have not too many options controlling this. The best I found was to place the diff in the clipboard if the test fails.

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

2 participants