Back to Browse

Microservices Without Mocks Part 1 - The Server

1.9K views
Jun 3, 2020
1:04:08

Each week in my Tuesday Lunch & Learn livestream, we look at a useful technical skill, define a challenge related to that skill, and solve the challenge live. This week, in part 1 of our extended microservice example, we’re building and testing a server without using mocks or broad integration tests. In previous weeks, we’ve demonstrated infrastructure wrappers (https://www.jamesshore.com/Blog/Lunch-and-Learn/Application-Infrastructure.html) and testing without mocks (https://www.jamesshore.com/Blog/Lunch-and-Learn/Testing-Without-Mocks.html). But those episodes all used toy examples. How do these ideas work when you’re writing complex, production-grade code? Our ongoing challenge over the next several weeks: upgrade the simple ROT-13 command-line application from previous weeks into a real, production-grade microservice. This week, our task is to build the server, start it, and make sure everything is throroughly tested... without writing mocks or broad integration tests. To follow along, download the code from https://github.com/jamesshore/livestream and check out the 2020-06-02 tag. To see the final result, check out the 2020-06-02-end tag or view it on GitHub at https://github.com/jamesshore/livestream/tree/2020-06-02-end.

Download

1 formats

Video Formats

360pmp4114.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Microservices Without Mocks Part 1 - The Server | NatokHD