3 ms·
I'd never heard anyone call those "integrity tests" before. I think "contract test" is more common. Assuming I understood you, that is. I've been telling ever
by drewcoo 4y ago
I'd never heard anyone call those "integrity tests" before. I think "contract test" is more common.
Assuming I understood you, that is.
I've been telling everyone to look at Pact to make contract testing easier to organize and maintain and to make it easier to trigger in the other tests in CI when an interface's behavior changes. They haven't offered me a commission yet. ;-)
https://pact.io https://pact.io
- karmakaze 4y agoI've also done contract testing and integrity tests are different, I'm doing a bad job of trying to describe them. I would say that Contract tests could be considered a subset of integrity testing. I think the difference could be that contract tests (as I've used them) generate unit tests for each side. Integrity tests may treat the pair as a unit and test them, to ensure their combined implementation behaves well.