Hi all, I am convinced there is issue with how `B...
# pact-go
n
Hi all, I am convinced there is issue with how
BeforeEach
hooks are executed. Rather than being executed once per scenario they are executed before each individual state handler function, both on setup and on cleardown. I think the intended behaviour is for
BeforeEach
hooks to be executed once per provider tests before the state handlers (and never on cleardown). I have raised an issue for it https://github.com/pact-foundation/pact-go/issues/288 .