DiffEngine manages launching and cleanup of diff tools. It is designed to be used by any Snapshot/Approval testing library.
Currently used by:
Support is available via Tidelift.
- NuGet package
- Supported Tools
- Launching a tool
- Closing a tool
- File type detection
- BuildServerDetector
- Security contact information
- Tools
- Tool Order
- Custom Tool
- AraxisMerge
- BeyondCompare
- CodeCompare
- DeltaWalker
- DiffMerge
- Kaleidoscope
- KDiff3
- Meld
- P4Merge
- Rider
- SublimeMerge
- TkDiff
- TortoiseGitMerge
- TortoiseIDiff
- TortoiseMerge
- VisualStudio
- VisualStudioCode
- WinMerge
A tool can be launched using the following:
DiffRunner.Launch(tempFile, targetFile);
Note that this method will respect the above difference behavior in terms of Auto refresh and MDI behaviors.
A tool can be closed using the following:
DiffRunner.Kill(tempFile, targetFile);
Note that this method will respect the above difference behavior in terms of MDI behavior.
DiffEngine use EmptyFiles to determine if a given file or extension is a binary or text.
BuildServerDetector.Detected
returns true if the current code is running on a build/CI server.
Supports:
To report a security vulnerability, use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
Engine designed by Eucalyp from The Noun Project.