Exploring the Testing Hyperpyramid with Kotlin and http4k
May 04, 2023
45 min
Free
kotlin
http4k
test-doubles
hexagonal-architecture
service-function
contract-testing
testing
tdd
observability
dependency-injection
microservices
api-gateway
Description
This talk explores a revised approach to the testing pyramid, emphasizing how design and technology choices can enhance testing strategies. David Denton and Ivan Sanchez, creators of http4k, demonstrate how to achieve more with less by leveraging Kotlin and http4k. They discuss techniques for controlling variables like time, randomness, and concurrency to create more deterministic and maintainable tests across different levels of the testing hierarchy, from unit to end-to-end. The presentation includes practical examples of building and testing microservices, generating documentation for free through test artifacts, and shifting testing and observability left to the developer's machine.