Q) Temporal checks in Pact? Can Pact describe temp...
# general
k
Q) Temporal checks in Pact? Can Pact describe temporal constraints as well as what the API call returns etc? For eg, the call should return within X ms. For example with pact-net, I can see that this is implemented in IRequestBuilderV4, but there are no temporal-like checks there.
👎 1
b
No, Pact isn't intended for performance, load, or functional testing.
Cool question, though 👌
Pact is conceptually more like a unit-testing framework. It doesn't simulate real-world infrastructure and performance constraints, and almost never runs in a prod-like environment.
You might've seen some test pyramid diagrams before, here's one of mine:
💯 1
performance and load testing are definitely the realm of the light-grey box, and results are only relevant for the environment they're running against
k
@Boris Thanks for your reply. To understand your picture, what does BFF stand for? I know its' not "Best Friends Forever" like I googled. Also you mentioned light-gray box -- do u mean the box with the light gray arrow pointing to automated e2e tests?
b
in this context, BFF means "back-end for front-end"
and yes, that's right, the box with the light-grey arrow pointing to automated e2e tests 👍