Class DiffEngine
- Namespace
- Xping.Sdk.Core.Session.Comparison
- Assembly
- Xping.Sdk.Core.dll
Orchestrates the comparison process for TestSession instances.
public class DiffEngine
- Inheritance
-
DiffEngine
- Inherited Members
Constructors
DiffEngine(params ITestSessionComparer[])
Initializes a new instance of the DiffEngine class.
public DiffEngine(params ITestSessionComparer[] comparers)
Parameters
comparers
ITestSessionComparer[]The comparers to use for TestSession comparison.
Properties
Comparers
Gets a read only collection of registered test session comparers.
public IReadOnlyCollection<ITestSessionComparer> Comparers { get; }
Property Value
Methods
ExecuteDiff(TestSession?, TestSession?)
Executes the comparison between two TestSession instances.
public DiffResult ExecuteDiff(TestSession? session1, TestSession? session2)
Parameters
session1
TestSessionThe first TestSession instance.
session2
TestSessionThe second TestSession instance.
Returns
- DiffResult
A DiffResult object containing the comparison outcome.