Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of building operable software using Test-Driven Development (TDD) with an outside-in approach in this 45-minute Devoxx conference talk. Discover how to overcome the limitations of traditional unit testing and gain confidence in deploying microservice-based systems. Learn to implement contract-first testing techniques that focus on service boundaries, providing greater flexibility and understanding of your application. Examine the benefits of this approach over unit testing and see how it can be correlated with tracing tools like Honeycomb for improved performance insights. While the talk primarily uses WebApplicationFactory in .NET and Honeycomb for demonstrations, the concepts are applicable across various programming languages. Gain valuable insights into test coverage, readable tests, and observability, and learn how to write effective traces for your applications.
Syllabus
Introduction
What is it
What is TDD
Why TDD
The Bad
Component Testing
Outside in Testing
Benefits of TDD
Test coverage
Readable tests
Arranging tests
Recap
What cant we test
What is observability
Caching code
Adding tracing
Writing a trace
What a trace should look like
Average duration of tests
Resources
Conclusion
Questions
Taught by
Devoxx