Please log in to watch this conference skillscast.
It can be tough to test an apparently simple service comprehensively. A microservice architecture brings a new level of complexity to the question “How can we validate that our API is working as intended?”
In this talk Michael will explain how to use test driven development for APIs and even further how TDD can drive an API Design towards a more usable design, and how to build an well-tested ecosystem of microservices. This approach is applicable for different kinds of services (REST APIs, websockets, industrial protocols). Independent from the type of interface we always ran into similar problems when we build an ecosystem of services. We have to deal with dependency, asynchronous behaviours, fallback mechanisms, endpoint versioning and sometimes even shared databases. It's not trivial to apply TDD to these kinds of problems cause you have to think of scenarios. But there are ways of identify these scenarios and to test them.
As an API specialist Michael worked with various clients designing, building, testing, maintaining and even redesigning private and public services. Based on his project experience he developed a practical approach to apply TDD to APIs in microservice ecosystems.
YOU MAY ALSO LIKE:
- How to build an API your developers will love? (SkillsCast recorded in November 2015)
- Applied Domain-Driven Design — Full-Stack Event Sourcing (in Online Event on 9th July 2020)
- Azure DevOps (in Online on 15th July 2020)
- Software Modernisation: A Strategic Approach (SkillsCast recorded in July 2020)
- Safe and Reproducible Deployments with Immutable Infrastructure (SkillsCast recorded in May 2020)
TDD for APIs in a Microservice World
Michael worked as an independent API specialist for many years. He advised his clients in terms of API design, authorization standards, development processes and the implementation itself.