Annotation Interface PactUrl


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

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Authentication to use, if needed.
  • Element Details

    • urls

      String[] urls
      Returns:
      a list of urls to pact files
    • auth

      Authentication to use, if needed. For basic auth, set the username and password. For bearer tokens, use the token attribute.
      Default:
      @au.com.dius.pact.provider.junitsupport.loader.Authentication