testing/

directory
v19.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT

README

This package contains utilities for testing, including mocks for third-party libraries.

Directories

Path Synopsis
Package flowtest provides the workload abstraction for AutoFlow and autocore testing: a Unit describes one workflow test (how to start it, how to drive it from the outside, and what outcome to expect), a Source produces Units, and the loadtest driver executes them.
Package flowtest provides the workload abstraction for AutoFlow and autocore testing: a Unit describes one workflow test (how to start it, how to drive it from the outside, and what outcome to expect), a Source produces Units, and the loadtest driver executes them.
corpus
Package corpus holds the pre-defined AutoFlow Units of the flowtest workload.
Package corpus holds the pre-defined AutoFlow Units of the flowtest workload.
ledger
Package ledger is the loadtest driver's durable record of executed sessions: the authoritative client-side observation a later verifier consumes.
Package ledger is the loadtest driver's durable record of executed sessions: the authoritative client-side observation a later verifier consumes.
loadtestmodule
Package loadtestmodule provides a compiled-in AutoFlow module for testing.
Package loadtestmodule provides a compiled-in AutoFlow module for testing.
Package mock_agent2kas_router is a generated GoMock package.
Package mock_agent2kas_router is a generated GoMock package.
Package mock_agent_tracker is a generated GoMock package.
Package mock_agent_tracker is a generated GoMock package.
Package mock_autocore is a generated GoMock package.
Package mock_autocore is a generated GoMock package.
Package mock_autoflow is a generated GoMock package.
Package mock_autoflow is a generated GoMock package.
Package mock_cache is a generated GoMock package.
Package mock_cache is a generated GoMock package.
Package mock_cmd_agent is a generated GoMock package.
Package mock_cmd_agent is a generated GoMock package.
Package mock_event_tracker is a generated GoMock package.
Package mock_event_tracker is a generated GoMock package.
Package mock_flowcore is a generated GoMock package.
Package mock_flowcore is a generated GoMock package.
Package mock_gitaly is a generated GoMock package.
Package mock_gitaly is a generated GoMock package.
Package mock_gitlab_access is a generated GoMock package.
Package mock_gitlab_access is a generated GoMock package.
Package mock_internalgitaly is a generated GoMock package.
Package mock_internalgitaly is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_kubernetes_api is a generated GoMock package.
Package mock_kubernetes_api is a generated GoMock package.
Package mock_modagent is a generated GoMock package.
Package mock_modagent is a generated GoMock package.
Package mock_modserver is a generated GoMock package.
Package mock_modserver is a generated GoMock package.
Package mock_modshared is a generated GoMock package.
Package mock_modshared is a generated GoMock package.
Package mock_otel is a generated GoMock package.
Package mock_otel is a generated GoMock package.
Package mock_redis is a generated GoMock package.
Package mock_redis is a generated GoMock package.
Package mock_rpc is a generated GoMock package.
Package mock_rpc is a generated GoMock package.
Package mock_stdlib is a generated GoMock package.
Package mock_stdlib is a generated GoMock package.
Package mock_tool is a generated GoMock package.
Package mock_tool is a generated GoMock package.
Package mock_tunnel_rpc is a generated GoMock package.
Package mock_tunnel_rpc is a generated GoMock package.
Package mock_tunnel_tunserver is a generated GoMock package.
Package mock_tunnel_tunserver is a generated GoMock package.
Package mock_usage_metrics is a generated GoMock package.
Package mock_usage_metrics is a generated GoMock package.
helper
Package helper (imported as testautocore_helper) provides low-level SQL assertions and mutations used by autocore tests.
Package helper (imported as testautocore_helper) provides low-level SQL assertions and mutations used by autocore tests.
Package testk8s provides a fake Kubernetes cluster API for tests.
Package testk8s provides a fake Kubernetes cluster API for tests.
Package testotel provides helpers for asserting on OpenTelemetry metrics in tests.
Package testotel provides helpers for asserting on OpenTelemetry metrics in tests.

Jump to

Keyboard shortcuts

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