{"product_id":"contract-testing-in-action","title":"Contract Testing in Action","description":"\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\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\u003c\/p\u003e\u003cp\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!\u003c\/p\u003e\u003cp\u003eIn \u003ci\u003eContract Testing in Action\u003c\/i\u003e you’ll learn:\u003c\/p\u003e\u003cp\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\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003ePurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the technology\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eIt’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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the book\u003c\/b\u003e\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWhat's inside\u003c\/b\u003e\u003c\/p\u003e\u003cp\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\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eFor software developers and quality engineers who have worked with Java or JavaScript, and APIs.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the author\u003c\/b\u003e\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eTable of Contents\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003ePart 1\u003cbr\u003e1 Introduction to contract testing\u003cbr\u003e2 How contract testing fits into wider testing concepts\u003cbr\u003e3 A technical overview of contract testing\u003cbr\u003ePart 2\u003cbr\u003e4 Implementing consumer-driven contract testing for web applications\u003cbr\u003e5 Implementing consumer-driven contract testing for mobile clients\u003cbr\u003e6 Implementing consumer-driven provider contract tests\u003cbr\u003e7 Contract testing for GraphQL\u003cbr\u003e8 Contract testing for event-driven architecture\u003cbr\u003e9 Storing, hosting, and securing the contracts\u003cbr\u003e10 Setting up contract testing in a CI\/CD pipeline\u003cbr\u003ePart 3\u003cbr\u003e11 Implementing provider-driven contract testing\u003cbr\u003e12 Moving integration tests to contract tests\u003cbr\u003eAppendix A Tool comparisons\u003cbr\u003eAppendix B Setting up project requirements for consumer contract testing (web applications)\u003cbr\u003eAppendix C Answers to chapter exercises\u003c\/p\u003e\u003cp\u003e\u003cb\u003eEbook License\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eEnd-User Warranty And License Agreement\u003c\/p\u003e\u003cp\u003e1. Grant Of License\u003c\/p\u003e\u003cp\u003eManning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.\u003c\/p\u003e\u003cp\u003e2. Restrictions\u003c\/p\u003e\u003cp\u003eYou Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.\u003c\/p\u003e\u003cp\u003e3. Intellectual Property Protection\u003c\/p\u003e\u003cp\u003eThe Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.\u003c\/p\u003e\u003cp\u003e4. Source Code Supplementary Material\u003c\/p\u003e\u003cp\u003eAny Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.\u003c\/p\u003e\u003cp\u003e5. Limited Warranty\u003c\/p\u003e\u003cp\u003eManning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.\u003c\/p\u003e\u003cp\u003e6. Limitation Of Liability\u003c\/p\u003e\u003cp\u003eIn No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.\u003c\/p\u003e\u003cp\u003e7. General\u003c\/p\u003e\u003cp\u003eThis Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e","brand":"Manning Publications","offers":[{"title":"Paperback","offer_id":50506374971462,"sku":"9781633437241","price":5318.0,"currency_code":"INR","in_stock":true},{"title":"E-Book","offer_id":50506375004230,"sku":"9781633437241-2","price":4333.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0754\/2797\/1142\/files\/71QnWMX9mTL._SY425.jpg?v=1790328563","url":"https:\/\/cb-india.com\/products\/contract-testing-in-action","provider":"Computer Bookshop (India) Pvt Ltd","version":"1.0","type":"link"}