package test import ( "testing" "github.com/gruntwork-io/terratest/modules/docker" "github.com/stretchr/testify/assert" ) func TestBuildImage(t *testing.T) { if testing.Short() { t.SkipNow() } buildImage(t, t.Context()) exists := docker.DoesImageExist(t, imageTag, nil) assert.True(t, exists) }