Annotation Interface PactFolder


@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface PactFolder
Used to point Pact runner to source of pacts for contract tests
See Also:
  • pact loader
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    Class<? extends au.com.dius.pact.core.support.expressions.ValueResolver>
    Override the default value resolver for resolving the values in the expressions
  • Element Details

    • value

      String value
      Returns:
      path to subfolder of project resource folder with pact
      Default:
      "${pactfolder.path:}"
    • valueResolver

      Class<? extends au.com.dius.pact.core.support.expressions.ValueResolver> valueResolver
      Override the default value resolver for resolving the values in the expressions
      Default:
      au.com.dius.pact.core.support.expressions.SystemPropertyResolver.class