How do I increase the number of diff tool instances opened by Verify? #1416
-
I am using WinMerge as my Diff tool. When I make a change in my codebase that affects multiple snapshot tests, Verify will open at most 5 instances of WinMerge. So if I make a large change affecting 10's of tests, I end up having to run my tests in batches of 5 to apply the changes. Is there a setting in Verify and/or WinMerge where I can increase the number of diff instances opened? I'm open to changing diff tools if there are better options. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
set the https://github.com/VerifyTests/DiffEngine/blob/main/docs/diff-tool.md#maxinstancestolaunch |
Beta Was this translation helpful? Give feedback.
-
i also recommend people use DiffEngineTray and/or the ride/resharper extension https://github.com/VerifyTests/Verify?tab=readme-ov-file#snapshot-management |
Beta Was this translation helpful? Give feedback.
-
Thanks Simon. I did not dig into the docs deep enough. Love the library. It has been a game changer. |
Beta Was this translation helpful? Give feedback.
-
thanks
dont apologize for that. there are a lot of docs. |
Beta Was this translation helpful? Give feedback.
set the
DiffEngine_MaxInstances
environment variable to the number of instances to launch.https://github.com/VerifyTests/DiffEngine/blob/main/docs/diff-tool.md#maxinstancestolaunch