Versions in this module Expand all Collapse all v1 v1.0.1 Apr 27, 2026 Changes in this version + func AssertGoldenFile(t *testing.T, goldenFilePath string, actual []byte) bool + func CalcGoldenFileTestdataDirName() string + func ConfigureTestToCaptureLogs(t *testing.T, runCtx *settings.Session, level string) *bytes.Buffer + func ConfigureTestToFailOnLogs(t *testing.T, runCtx *settings.Session) + func CreateDirectoryStructure(t *testing.T, treeOutputLocation string, tmpDir string) + func FindDirectoriesWithTreeFile(t *testing.T, baseDir string) []string + func TestCostComponents(t *testing.T, costComponents []*engine.LineItem, checks []CostComponentCheck) + func TestResources(t *testing.T, resources []*engine.Estimate, checks []ResourceCheck) + type CostCheckFunc func(*testing.T, *engine.LineItem) + func HourlyPriceMultiplierCheck(multiplier decimal.Decimal) CostCheckFunc + func MonthlyPriceMultiplierCheck(multiplier decimal.Decimal) CostCheckFunc + func NilMonthlyCostCheck() CostCheckFunc + type CostComponentCheck struct + HourlyCostCheck CostCheckFunc + MonthlyCostCheck CostCheckFunc + Name string + PriceHash string + SkipCheck bool + type ErrorOnAnyWriter struct + func (e ErrorOnAnyWriter) Write(data []byte) (n int, err error) + type ResourceCheck struct + CostComponentChecks []CostComponentCheck + Name string + SkipCheck bool + SubResourceChecks []ResourceCheck