top of page
Home: Skills
Testing Microservices End-to-End in Isolation with API Contracts | Lewis Prescott | TestFlix 2022
07:05
The Test Tribe

Testing Microservices End-to-End in Isolation with API Contracts | Lewis Prescott | TestFlix 2022

Talk Takeaways: 1. The difference between mocks and API Contracts 2. How to code isolated end-to-end tests with Cypress & Pactflow 3. Benefits of using API contract stubs About The Talk: Testing in microservices can get tricky very quickly. Contract testing offers some ways to make Microservices Testing easier, quicker and less costly. Want to take your Microservices e2e testing to the next level? Want to deploy microservices with more confidence and move to continuous deployment? Then integrating contract stubs in to your end to end tests is for you. Using Cypress & Pactflow, I will demonstrate how you can run end-to-end tests with API contracts to provide more stable, easier to maintain and a more realistic test suite. #TestFlix #SoftwareTesting #APIcontracts #MicroservicesTesting About Lewis: Iโ€™m an experienced QA Lead at Cera Care (one of Europeโ€™s fastest-growing companies), having worked across different industries including Healthcare, Non-profit, Retail and PropTech. Working for companies such as ASOS during Black Friday sales mayhem, Zava delivering a safe and secure medical service to patients and Cancer Research UK enabling scientists to save lives through technology. I am also a course author on Test Automation University & Udemy, sharing my knowledge is a passion of mine. Connect To The Speaker: https://www.linkedin.com/in/lewis-prescott-12409a44/ https://www.pactman.co.uk/ https://twitter.com/WuigPrescott This video is of one of the Atomic Talks presented at #TestFlix- Global Software #Testing Binge, 2022. TestFlix 2022 had: - 3,375,282 Social Media Reach - 27,954 Social Media Interaction - 9,450 Social Media Likes - 976 Social Media Mentions - 61 Speakers - 14 Themes - 60 Atomic Talks - 14 Speaker Countries - 12 K + Registrations - 119 countries - 4000 + companies - 3500 + Attendees - 6000+ Messages shared on Event chat TestFlix 2022 Proud Sponsors: BrowserStack - https://www.browserstack.com/ ACCELQ - https://www.accelq.com/ Opkey - https://www.opkey.com/ PhonePe - https://www.phonepe.com/ GSPANN - https://www.gspann.com/ LambdaTest - https://www.lambdatest.com/intl/en-in Virtuoso - https://www.virtuoso.qa/ Yubi - https://www.go-yubi.com/ Testguild - https://testguild.com/ Fasal - https://fasal.co/ Virtualan - https://www.virtualan.io/ Liked the Talks at TestFlix? Check out our upcoming event Worqference, a workshop only testing conference, for more such learnings. Worqference: https://bit.ly/worqference
JS Monthly #17: Lewis Prescott - Double up your component & integration tests with Supertest & Nock
27:37
Prisma

JS Monthly #17: Lewis Prescott - Double up your component & integration tests with Supertest & Nock

This talk builds on my course for Test Automation University (https://testautomationu.applitools.com/javascript-api-testing/) Using the power of mocking and the tool Nock. You can build component and integration tests with one set of scripts. I will show you how this is possible and also explain the difference between component and integration tests. In order to make your tests fast and build tests at the right level, use the power of mocking. The JS Monthly Meetup was organised by Aris Markogiannakis (JS Monthly host) and hosted by Prisma. โœจ Join the Prisma Meetup group here: https://www.meetup.com/js-monthly/ Follow Lewis: Twitter: https://twitter.com/WuigPrescott Next: ๐Ÿ‘‰ Check Previous video: Heavily Connected Data Applications - https://youtu.be/D7C-97HgXTs โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” ๐Ÿ“š Learn more about Prisma โ€ข Website: https://www.prisma.io โ€ข Docs: https://www.prisma.io/docs โ€ข Quickstart: https://pris.ly/qstart โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” โ“ Get help with Prisma issues โ€ข Slack: https://slack.prisma.io โ€ข GitHub: https://www.github.com/prisma/prisma/discussions โ€ข Stackoverflow: https://stackoverflow.com/questions/tagged/prisma โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” ๐Ÿ’ฌ Follow Prisma on social media โ€ข Twitter: https://twitter.com/prisma โ€ข Instagram: https://www.instagram.com/prisma.io/ โ€ข TikTok: https://www.tiktok.com/@prismadata โ€ข Facebook: https://www.facebook.com/prisma.io โ€ข LinkedIn: https://www.linkedin.com/company/prisma-io โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” ๐Ÿ” Professional captions for your technical videos Prisma sponsors human-reviewed, professional closed captions for ANY video valuable to our community (for example, about: Node.js, TypeScript & Type Safety, Prisma, databases, etc). Get your FREE captions here: https://pris.ly/closedcaptions โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” โœ… Subscribe to Prisma's YouTube channel https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w?sub_confirmation=1
Image by Safar Safarov

MY TESTING EXPERTISE

QA Lead at Cera Care (one of Europe’s fastest-growing companies). I talk about Contract API Testing: 99 minute workshops with Ministry of Testing, on Testers Island Discs and at any meetup that will have me.

If you want advice on how to get started with API Contract Testing, Contract Testing for Microservices, End to End Testing, Acceptance Test Driven Development or more services!

PODCAST APPEARANCES

MY PODCAST

How to start API Contract Testing series

Testing microservices application is complex. Contract testing offers some ways to make testing in microservices easier. So why not start today. In this podcast I will chat to guests about the challenges they face in software working in microservices architecture.

CONFERENCE APPEARANCES

Geekle Logo

QA GLOBAL SUMMIT

selenium day logo

SELENIUM DAY

National Software Testing Conference Logo

NATIONAL SOFTWARE TESTING CONFERENCE

Leeds Testing Atelier Logo

LEEDS TESTING ATELIER

TESTIMONIALS

Home: Testimonials

I attended Lewisโ€™s 99 minute Contract Testing workshop run by the Ministry of Testing. I took away lots of practical knowledge that I used to inform our engineering teams test strategy. Lewis has that rare gift of being able to explain something pretty technical to an audience who might not be as technical - and not only that, but in a way that actually sticks.

SOFTWARE TESTING CONSULTATION

What is API Contract Testing?

Contact me to help with this and much more:

โ€‹

  • How to start API Contract Testing

  • How to sell Contract API Testing to your team or company

  • Where to start with migrating Integration tests to Contract Tests