Workshop Details
No More Mocking! Write Better Tests for Microservices-powered Server-side Rendered Applications with Contract Tests
Description
No More Mocking! Write Better Tests for Microservices-powered Server-side Rendered Applications with Contract Tests
For a long time, I wondered how to test SSR applications (Nuxt, Next.js, Laravel, etc.) that talk to HTTP APIs (e.g., microservices). How can I test the whole application in isolation when I can't mock the API requests to the microservices? I was at a loss until I learned about Contract Testing with Specmatic.
In this workshop, I'll teach you what I found out. After the workshop, you'll:
- know why you can mock network requests when testing SPAs, use database seeding when testing traditional monolithic applications, and utilize a stub server to test microservices-powered applications;
- know the basics about OpenAPI specifications, contract testing with Specmatic, and how to use those tools to run a stub server to test a Nuxt application;
- be able to write tests with Playwright, not mocking any requests between the frontend and backend parts of your Nuxt application.
Markus Oberlehner
OSS Contributor, vue-lazy-hydration
Professional Web Developer for 14 years. Currently working as a Software Architect at karriere.at. Vue.js and TDD enthusiast. Open Source is my passion—creator of vue-lazy-hydration.
415 EUR
+ 19% VAT
Minimum of 5 participants. The maximum number of participants varies. The workshop will only take place if the minimum number of participants is reached.
Order now
Get your tickets
Get your conference ticket now and listen to great talks, enjoy delicious food and get to know the wonderful Vue.js community. There are also special discounts for groups.