# Integration Testing in Go: Part I - Executing Tests with Docker

DevFeed: [Integration Testing in Go: Part I - Executing Tests with Docker](<https://devfeed.tech/articles/integration-testing-in-go-part-i-executing-tests-with-docker-22143.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2019/03/integration-testing-in-go-executing-tests-with-docker.html>)

Published: 2019-03-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>)

Tags: [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [blog](<https://devfeed.tech/tags/blog.md>), [compose](<https://devfeed.tech/tags/compose.md>), [databases](<https://devfeed.tech/tags/databases.md>), [docker](<https://devfeed.tech/tags/docker.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [integration-testing](<https://devfeed.tech/tags/integration-testing.md>), [messaging](<https://devfeed.tech/tags/messaging.md>), [programming](<https://devfeed.tech/tags/programming.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

A tutorial on integration testing in Go. It explains how to use Docker and Docker Compose to run Go tests alongside application dependencies such as databases and messaging systems in a restrictive environment without Go pre-installed.

## Source excerpt

Introduction "Testing leads to failure, and failure leads to understanding." - Burt Rutan Burt Rutan is an aerospace engineer who designed Voyager, the first plane to fly around the world without stopping or refueling. Although Rutan was not a software engineer, his words speak volumes to the importance of testing, even testing software. Testing software in all forms is extremely important, whether it be unit, integration, system, or acceptance testing. However, depending on the project, one form of testing can be more valuable than the others. In other words, sometimes one form of testing can lead to better understanding about the health and integrity of the software than the other forms.