Contract Testing - How do you tame an external API that constantly breaks your tests
Vincent Hennig & Anupam Krishnamurthy - a year ago
Once upon a time, our implementation partner performed a major update on their API. Boom! This update wrecked our end-to-end tests, and it took us 172 hours to fix them. Our software often depends on another team’s API, thereby making our tests fragile. Test data may go missing. The API might be slow, making our tests flaky. An endpoint’s response schema might change, causing some features to break. All of this can lead us to waste a tonne of time analyzing tests that break for no fault of ours. But there is a solution to this problem - consumer driven contract testing. This talk will detail how you can test your application in a manner that is robust to API changes in a partner team. We will give you an overview of how we are tackling this problem using automated API tests, schema validation and by hosting API test doubles on a mock server. Once you’ve done all this, you and your implementation partner can work together happily ever after.
Jobs with related skills
Quality Assurance (m/w/d)
shopware AG
·
1 month ago
Schöppingen, Germany
Hybrid
Software Tester / Automatisierer (w/m/x)
Raiffeisen Bank International AG
·
27 days ago
Vienna, Austria
Hybrid
Senior Software Tester (w/m/d)
KIS GmbH & Co. KG
·
24 days ago
Schönefeld, Germany
Hybrid
Entwicklung Software Testing
Projektron GmbH
·
13 days ago
Berlin, Germany
Hybrid
Related Videos