Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

A Journey Through Integration Testing with Go - What Could Go Wrong?

Gopher Academy via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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

Reviews

Start your review of A Journey Through Integration Testing with Go - What Could Go Wrong?

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.