acceptance

module
v0.0.0-...-fd195c9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0

README

Acceptance Tests

Behavior-Driven Development is enforced through godog.

These tests has builtin support to run on kind.

Setups

The Namespace-Lister is usually installed behind a Proxy. The Namespace-Lister can be configured to delegate authentication to the Proxy. In this case we speak of a Smart Proxy.

Alternatively, the request is authenticate against the APIServer's TokenReview API. In this case we speak of a Dumb Proxy.

We support test cases for both these setups. You find the Smart Proxy's tests at [./test/smart-proxy/] and the Dumb Proxy's tests at [./test/dumb-proxy/].

To create the cluster, install the Namespace-Lister, and configure the Proxy you can use the make prepare command.

To execute the tests, you can use the make test command.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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