test/

directory
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0

Directories

Path Synopsis
Package adofake is a local, hermetic fake of the Azure DevOps HTTP surface Wardyn's ADO broker/gate work (#375) talks to: git smart-HTTP (served by the real `git http-backend`, not reimplemented), and the REST endpoints for branch policies, pull requests, refs, pushes, work items, connection data, projects and the personal-access-token lifecycle.
Package adofake is a local, hermetic fake of the Azure DevOps HTTP surface Wardyn's ADO broker/gate work (#375) talks to: git smart-HTTP (served by the real `git http-backend`, not reimplemented), and the REST endpoints for branch policies, pull requests, refs, pushes, work items, connection data, projects and the personal-access-token lifecycle.
cmd command
Command adofake serves test/entrafake AND test/adofake from ONE process, behind a TLS-terminating forward proxy, so the kind walk's Azure DevOps profile (scripts/lib/kind-sso-walk-ado.sh) can reach "login.microsoftonline.com" and "dev.azure.com" by their real names on a cluster with no Microsoft tenant.
Command adofake serves test/entrafake AND test/adofake from ONE process, behind a TLS-terminating forward proxy, so the kind walk's Azure DevOps profile (scripts/lib/kind-sso-walk-ado.sh) can reach "login.microsoftonline.com" and "dev.azure.com" by their real names on a cluster with no Microsoft tenant.
Package awsssofake is a local, unsigned fake of the two AWS IAM Identity Center (SSO) HTTP services the AWS CLI/SDK talks to during `aws sso login` and later role-credential resolution:
Package awsssofake is a local, unsigned fake of the two AWS IAM Identity Center (SSO) HTTP services the AWS CLI/SDK talks to during `aws sso login` and later role-credential resolution:
cmd command
Command awsssofake serves test/awsssofake's fake sso-oidc + sso portal (and its bedrock-runtime stub) on a fixed port, so the SAME fake every in-process test uses can run as a POD on the kind SSO cluster.
Command awsssofake serves test/awsssofake's fake sso-oidc + sso portal (and its bedrock-runtime stub) on a fixed port, so the SAME fake every in-process test uses can run as a POD on the kind SSO cluster.
Command basepathproxy is the reverse proxy the Playwright e2e backend puts in front of wardynd in its base-path mode (scripts/e2e-backend.sh, WARDYN_E2E_BASE_PATH).
Command basepathproxy is the reverse proxy the Playwright e2e backend puts in front of wardynd in its base-path mode (scripts/e2e-backend.sh, WARDYN_E2E_BASE_PATH).
Package conformance is the driver-agnostic parity gate for runner.Runner implementations.
Package conformance is the driver-agnostic parity gate for runner.Runner implementations.
hopfake command
Command hopfake stands in for wardynd's proxy-facing TLS listener in two docker conformance cases.
Command hopfake stands in for wardynd's proxy-facing TLS listener in two docker conformance cases.
Package entrafake is a local fake of the Microsoft Entra ID v2.0 endpoints a per-user Azure DevOps sign-in talks to:
Package entrafake is a local fake of the Microsoft Entra ID v2.0 endpoints a per-user Azure DevOps sign-in talks to:
Command subfake stands in for TWO real endpoints in #677's hermetic Docker+Postgres per-person-subscription test (internal/api/provider_subscription_docker_test.go), for the same reason test/conformance/hopfake exists: reachability between a real wardyn-proxy container and this repo's own go-test process is unreliable on this box's Docker Desktop/WSL2 setup (host.docker.internal flakes; --network host does not share the WSL loopback there — see that file's own measurements).
Command subfake stands in for TWO real endpoints in #677's hermetic Docker+Postgres per-person-subscription test (internal/api/provider_subscription_docker_test.go), for the same reason test/conformance/hopfake exists: reachability between a real wardyn-proxy container and this repo's own go-test process is unreliable on this box's Docker Desktop/WSL2 setup (host.docker.internal flakes; --network host does not share the WSL loopback there — see that file's own measurements).

Jump to

Keyboard shortcuts

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