Contract Testing in Action With Pact, PactFlow, and GitHub Actions
49,44 €
inkl. gesetzl. MwSt.Beschreibung
Produktdetails
Format
ePUB
Kopierschutz
Ja
Family Sharing
Ja
Text-to-Speech
Ja
Erscheinungsdatum
28.01.2025
Verlag
Simon + Schuster LLCSeitenzahl
304 (Printausgabe)
Dateigröße
17539 KB
Sprache
Englisch
EAN
9781638356608
Large, loosely coupled systems have hundreds, even thousands, of interactionsand traditional testing can often struggle to keep up! Enter contract testing. This rapidly growing new approach checks API and service compatibility by verifying it against an agreed contract. No more unexpected integration issues, and no more breaking things in production!
In Contract Testing in Action you'll learn:
• The core concepts and practices of contract testing
• Testing microservices with Pact
• Consumer-driven and bi-directional testing
• Building a contract testing framework
• Converting API integration tests to contract tests
Contract Testing in Action introduces the practice of contract testing through engaging hands-on examples. You'll learn how to introduce contract tests for multiple different types of communication, from REST APIs to event-driven architecture. By the end of this practical guide, you'll be comfortable with advanced contract testing concepts like can-i-deploy, provider states, and webhooks. You'll even get tips on how to introduce contract testing to your team and other business stakeholders.
About the technology
It's difficult to test API and event-based services that can be used by many applications simultaneously through a complex network of integrations. Contract testing offers a straightforward solution. API and service compatibility are verified against agreed-upon contracts that each component in the systemand the developers that build themcan understand and respect. This transformative technique helps uncover integration issues early and adds vital transparency to any system.
About the book
Contract Testing in Action makes it easy for your team to adopt contract testing for microservices and other API-centric systems. You'll start by learning how contract testing fits into the software development lifecycle, and then you'll explore practical methods to integrate it with your own tech stack and practices. You'll use leading contract testing toolsincluding Pact, PactFlow, and GitHub Actionsto build your own contract testing framework, set up consumer-driven contract testing for REST and GraphQL APIs, and integrate it into your CI/CD pipeline.
What's inside
• Testing microservices with Pact
• Consumer-driven and bi-directional contract testing
• Building a contract testing framework
• Converting API integration tests to contract tests
About the reader
For software developers and quality engineers who have worked with Java or JavaScript, and APIs.
About the author
Marie Cruz is a Software Tester with over ten years of experience and also a Developer Advocate at Grafana Labs. Lewis Prescott is a Test Specialist at IBM with over nine years experience in software testing.
Kundinnen und Kunden meinen
Verfassen Sie die erste Bewertung zu diesem Artikel
Helfen Sie anderen Kund*innen durch Ihre Meinung
Kurze Frage zu unserer Seite
Vielen Dank für Ihr Feedback
Wir nutzen Ihr Feedback, um unsere Produktseiten zu verbessern. Bitte haben Sie Verständnis, dass wir Ihnen keine Rückmeldung geben können. Falls Sie Kontakt mit uns aufnehmen möchten, können Sie sich aber gerne an unseren Kund*innenservice wenden.
zum Kundenservice