You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/moduletest/suite.go

23 lines
455 B

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package moduletest
import "github.com/hashicorp/terraform/internal/tfdiags"
type Suite struct {
Status Status
Files map[string]*File
}
type TestSuiteRunner interface {
Test() (Status, tfdiags.Diagnostics)
Stop()
Cancel()
// IsStopped allows code outside the moduletest package to confirm the suite was stopped
// when handling a graceful exit scenario
IsStopped() bool
}