A Journey Through Integration Testing with Go - What Could Go Wrong?
Offered By: Gopher Academy via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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
A Beginner’s Guide to DockerPackt via FutureLearn Docker - Deep Dive
A Cloud Guru Hands-on with Podman Containers on Linux
A Cloud Guru Learning Vagrant
A Cloud Guru Amazon EKS Primer
Amazon Web Services via AWS Skill Builder