{"product_id":"contract-testing-in-action-with-pact-pactflow-and-github-actions-9781633437241","title":"Contract Testing in Action: With Pact, Pactflow, and Github Actions","description":"\u003cb\u003eContract testing is a simple, reliable way to make sure that each service and API plays nice with other components so you can deploy independently and safely.\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003eLarge, loosely coupled systems have hundreds, even thousands, of interactions--and 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! \u003cp\u003e\u003c\/p\u003eIn \u003ci\u003eContract Testing in Action\u003c\/i\u003e you'll learn: \u003cp\u003e\u003c\/p\u003e- The core concepts and practices of contract testing\u003cbr\u003e - Testing microservices with Pact\u003cbr\u003e - Consumer-driven and bi-directional testing\u003cbr\u003e - Building a contract testing framework\u003cbr\u003e - Converting API integration tests to contract tests \u003cp\u003e\u003c\/p\u003e \u003ci\u003eContract Testing in Action\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003ePurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the technology\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e 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 system--and the developers that build them--can understand and respect. This transformative technique helps uncover integration issues early and adds vital transparency to any system. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the book\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003ci\u003eContract Testing in Action\u003c\/i\u003e 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 tools--including Pact, PactFlow, and GitHub Actions--to 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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eWhat's inside\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e- Testing microservices with Pact\u003cbr\u003e - Consumer-driven and bi-directional contract testing\u003cbr\u003e - Building a contract testing framework\u003cbr\u003e - Converting API integration tests to contract tests \u003cp\u003e\u003c\/p\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e For software developers and quality engineers who have worked with Java or JavaScript, and APIs. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the author\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003cb\u003eMarie Cruz\u003c\/b\u003e is a Software Tester with over ten years of experience and also a Developer Advocate at Grafana Labs. \u003cb\u003eLewis Prescott\u003c\/b\u003e is a Test Specialist at IBM with over nine years experience in software testing. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eTable of Contents\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e Part 1\u003cbr\u003e 1 Introduction to contract testing\u003cbr\u003e 2 How contract testing fits into wider testing concepts\u003cbr\u003e 3 A technical overview of contract testing\u003cbr\u003e Part 2\u003cbr\u003e 4 Implementing consumer-driven contract testing for web applications\u003cbr\u003e 5 Implementing consumer-driven contract testing for mobile clients\u003cbr\u003e 6 Implementing consumer-driven provider contract tests\u003cbr\u003e 7 Contract testing for GraphQL\u003cbr\u003e 8 Contract testing for event-driven architecture\u003cbr\u003e 9 Storing, hosting, and securing the contracts\u003cbr\u003e 10 Setting up contract testing in a CI\/CD pipeline\u003cbr\u003e Part 3\u003cbr\u003e 11 Implementing provider-driven contract testing\u003cbr\u003e 12 Moving integration tests to contract tests\u003cbr\u003e Appendix A Tool comparisons\u003cbr\u003e Appendix B Setting up project requirements for consumer contract testing (web applications)\u003cbr\u003e Appendix C Answers to chapter exercises\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAbout the Author\u003c\/b\u003e\u003cbr\u003e\u003cb\u003eMarie Cruz\u003c\/b\u003e is a Software Tester with over 10 years of experience. Currently a Senior Developer Advocate for Grafana Labs, she has previously worked as an Engineering Manager responsible for driving continuous testing and quality improvements, and a Principal Engineer focused on introducing recommended practices for testing and test automation frameworks. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eLewis Prescott\u003c\/b\u003e is a Test Specialist at IBM. He has 9 years experience in software testing, is a recognized champion of Contract Testing and course author at Test Automation University, as well as an active mentor in the testing community.\u003cbr\u003e","brand":"Manning Publications","offers":[{"title":"Default Title","offer_id":50928489890066,"sku":"9781633437241","price":55.99,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/4771\/8930\/files\/img_6c2c4e1f-0d9c-4cad-a9de-9f0696f8e5b2.jpg?v=1739000061","url":"https:\/\/surprise-castle.myshopify.com\/products\/contract-testing-in-action-with-pact-pactflow-and-github-actions-9781633437241","provider":"Surprise Castle","version":"1.0","type":"link"}