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
    • Method Detail

      • pathAt

        ComparisonRuleBuilder.ChooseMatcher pathAt​(java.lang.String path)
        Specify the path for which to apply the custom comparison rule.
        Parameters:
        path - The path for which to apply the special rule. Semantics and syntax of the path differ depending on the actual.
        Returns:
        A DSL Object for specifying how to compare values rooted at that path.