Andrea Berman
06/01/2023, 11:30 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Andrea Berman
06/02/2023, 12:25 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Can you run it without provider states?I don’t think there is a mode to disable them. But why would you want to do that? Then you wouldn’t be able to test those scenarios properly
Andrea Berman
06/02/2023, 12:28 AMAndrea Berman
06/02/2023, 12:29 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Andrea Berman
06/02/2023, 12:30 AMAndrea Berman
06/02/2023, 12:31 AMMatt (pactflow.io / pact-js / pact-go)
Andrea Berman
06/02/2023, 12:33 AMMatt (pactflow.io / pact-js / pact-go)
Andrea Berman
06/02/2023, 12:37 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Andrea Berman
06/02/2023, 12:39 AMAndrea Berman
06/02/2023, 12:40 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Andrea Berman
06/02/2023, 12:43 AMAndrea Berman
06/02/2023, 12:43 AMMatt (pactflow.io / pact-js / pact-go)
does the provider state endpoint have to be on the provider or can it exist separately?great question - the answer is that it doesn’t matter. It could be a separate test-only API that also can write to the underlying DB (if that’s the state that needs manipulation). Obviously, in-memory stubbing wouldn’t be effective this way, but I think you get the point
Andrea Berman
06/02/2023, 12:53 AMMatt (pactflow.io / pact-js / pact-go)