//go:build e2e

package testkit

import (
	"fmt"
	"strings"
	"time"
)

// CaseName creates a stable E2E resource name with timestamp suffix.
func CaseName(prefix string) string {
	normalized := strings.TrimSpace(prefix)
	if normalized == "" {
		normalized = "e2e"
	}
	return fmt.Sprintf("%s-%d", normalized, time.Now().UnixNano())
}
