A Journey Through Integration Testing with Go - What Could Go Wrong?
Offered By: Gopher Academy via YouTube
Course Description
Overview
Explore the journey of implementing integration testing in Go through this GopherCon 2022 talk by Samantha Coyle. Discover how a team of Go developers tackled integration testing using TestContainers-go and go-test-report, deviating from the typical Python Robot framework. Learn about the challenges faced, including discrepancies between test results and report statuses, limitations of open-source packages, and conflicts between developers and validation engineers. Gain insights into the team's approach to spinning up services, conducting integration tests, and creating user-friendly HTML test reports. Follow their problem-solving process as they navigate issues and develop workarounds. Understand the benefits of their chosen integration testing solution and take away valuable lessons from their experience in implementing Go-based integration testing for a smart city project.
Syllabus
Intro
Overview
Speaker & Team
Software development life cycle (SDLC)
Smart city solution use case
Smart city integration tests needs
Integration Testing Solution Components
Testcontainers-go package
Define container
Start container
Start service using docker compose
Wait Strategies
Our work around V2
Define what to test
Increasing scope
Template things out
Alternatives moving forward
Go-test-report package
Validation team norms
Check tests succeed
Check report
3. Validation engineer checks
What to do?
Interesting find #2
Success!
Integration testing solution benefits
Takeaways
Taught by
Gopher Academy
Related Courses
DevOps TestingMicrosoft via edX Software Testing
NPTEL via Swayam Introduction to Software Testing
University of Minnesota via Coursera Java Spring Boot Application Software Testing
Coursera Project Network via Coursera Java from Zero to First Job, Practical Guide, 2000+ examples
Udemy