public async Task Provider_Should_Meet_Consumers_Expectations()
 {
     await PactVerifier
     .CreateFor <StartUp>()
     .Between("frontend", "bicycles")
     .RetrievedViaHttp("https://localhost/pacts/provider/bicycles/consumer/frontend/version/1.0.0")
     .VerifyAsync();
 }
Exemple #2
0
 public async Task Provider_Should_Meet_Consumers_Expectations()
 {
     await PactVerifier
     .CreateFor <Startup>()
     .Between("orders", "parcels")
     .RetrievedViaHttp("http://localhost:9292/pacts/provider/parcels/consumer/orders/latest")
     .VerifyAsync();
 }
Exemple #3
0
        public async Task Provider_Should_Meet_Consumers_Expectations()
        {
            //Todo: Use the API Startup class

            await PactVerifier
            .CreateFor <StartUp>()
            .Between("frontend", "bicycles")
            .RetrievedViaHttp($"http://localhost:9292/pacts/provider/bicycles/consumer/frontend/latest")
            .VerifyAsync();
        }