Testing front 2 back: Modern frontend testing + Frontend / Backend Contracts


Details
Hi Agile Testers!
Time for our next meetup, this time at the Süddeutsche Zeitung!
Testing in Modern Javascript World
Robert Hostlowsky (https://twitter.com/rhosts)
Abstract:
In Javascript as in any other language without types like, without compiler, we typically write more unit tests for better code confidence.
But writing tests is tedious and boring? - No, this talk is about how to write and run all tests with latest, modern, efficient JavaScript tooling:
In the toolbox there are Jest, Puppeteer and Cypress. Let's see them in action. Testing makes fun again!
Bio:
Robert currently works at codecentric AG as an coder, enabler and coach.
He previously published an online video course about developing an entire GraphQL application, see his course on PacktPub (https://t.co/iWVbOmSxxO).
---
Front End & Back End in Sync with Pact CDC Tests
David Völkel (https://twitter.com/davidvoelkel)
Abstract:
How can we test that the REST calls from the front end and their respective back end endpoints work correctly together? Of course browser tests against the deployed application cover that. But their feedback is very slow and finding the root cause for a test failure takes ages. Thus the Testing Pyramid suggests to complement those with more isolated tests.
In the last few years Consumer-Driven Contract (CDCs) Tests have become an elegant solution to keep a consumer and a provider service in sync in a decoupled fashion. So why not transfer this idea to the interactions between back end and front end? So we tried to use the Pact CDC library to assure our Angular front end and our Spring Boot back end do fit together. Nice by-product: the front end and back end tests are logically connected but can be executed isolated and decoupled from each other.
In the session I will explain the approach, show you the code of an example project and tell you about our experiences with it.
Bio:
David is a developer and consultant for codecentric, a TDD maniac and co-organizes the Software Craft Meetup Munich.

Testing front 2 back: Modern frontend testing + Frontend / Backend Contracts