testutil

package
v0.0.0-...-8de2fc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package testutil provides shared test infrastructure for CobaltCore operator integration tests, including fake CRD schemas, fluent builders for test data, and custom assertion helpers.

Feature: CC-0002

Directories

Path Synopsis
Package assertions provides test assertion helpers for verifying Kubernetes resource state in integration and unit tests.
Package assertions provides test assertion helpers for verifying Kubernetes resource state in integration and unit tests.
Package builders provides fluent test data builders for creating Kubernetes resources in integration tests.
Package builders provides fluent test data builders for creating Kubernetes resources in integration tests.
Package envtest provides shared envtest bootstrap utilities for integration tests across all CobaltCore operators.
Package envtest provides shared envtest bootstrap utilities for integration tests across all CobaltCore operators.
Package fake_crds contains minimal CRD YAML schemas for external operators used in envtest integration tests.
Package fake_crds contains minimal CRD YAML schemas for external operators used in envtest integration tests.
Package simulators provides test helpers that simulate external operator behavior by updating resource status fields during envtest integration tests.
Package simulators provides test helpers that simulate external operator behavior by updating resource status fields during envtest integration tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL