Class ConsumerPactTest

java.lang.Object
au.com.dius.pact.consumer.junit.ConsumerPactTest

public abstract class ConsumerPactTest extends Object
  • Constructor Details

    • ConsumerPactTest

      public ConsumerPactTest()
  • Method Details

    • createPact

      protected abstract au.com.dius.pact.core.model.RequestResponsePact createPact(au.com.dius.pact.consumer.dsl.PactDslWithProvider builder)
    • providerName

      protected abstract String providerName()
    • consumerName

      protected abstract String consumerName()
    • runTest

      protected abstract void runTest(au.com.dius.pact.consumer.MockServer mockServer, au.com.dius.pact.consumer.PactTestExecutionContext context) throws IOException
      Throws:
      IOException
    • testPact

      public void testPact() throws Throwable
      Throws:
      Throwable
    • getSpecificationVersion

      protected au.com.dius.pact.core.model.PactSpecVersion getSpecificationVersion()