Interface ComparisonRuleBuilder


  • @API(status=EXPERIMENTAL,
         since="1.3.0")
    public interface ComparisonRuleBuilder
    Builder for customizing how snapshot files are compared against the actual test result.
    Since:
    1.2.0
    Author:
    Simon Taddiken
    • Method Detail

      • pathAt

        ComparisonRuleBuilder.ChooseMatcher pathAt​(String path)
        Specify the path for which to apply the custom comparison rule.
        Parameters:
        path - The dot separated path.
        Returns:
        A DSL Object for specifying how to compare values rooted at that path.