Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v0.49.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestInt_Deploy

func TestInt_Deploy(t *testing.T, deployer fn.Deployer, remover fn.Remover, describer fn.Describer, deployerName string)

TestInt_Deploy ensures that the deployer creates a callable service. See TestInt_Metadata for Labels, Volumes, Envs. See TestInt_Events for Subscriptions

func TestInt_EnvsUpdate

func TestInt_EnvsUpdate(t *testing.T, deployer fn.Deployer, remover fn.Remover, describer fn.Describer, deployerName string)

TestInt_EnvsUpdate ensures that removing and updating envs are correctly reflected during a deployment update.

func TestInt_Events

func TestInt_Events(t *testing.T, deployer fn.Deployer, remover fn.Remover, describer fn.Describer, deployerName string)

TestInt_Events ensures that eventing triggers work.

func TestInt_FullPath

func TestInt_FullPath(t *testing.T, deployer fn.Deployer, remover fn.Remover, lister fn.Lister, describer fn.Describer, deployerName string)

Basic happy path test of deploy->describe->list->re-deploy->delete.

func TestInt_Metadata

func TestInt_Metadata(t *testing.T, deployer fn.Deployer, remover fn.Remover, describer fn.Describer, deployerName string)

TestInt_Metadata ensures that Secrets, Labels, and Volumes are applied when deploying.

func TestInt_Scale

func TestInt_Scale(t *testing.T, deployer fn.Deployer, remover fn.Remover, describer fn.Describer, deployerName string)

TestInt_Scale spot-checks that the scale settings are applied by ensuring the service is started multiple times when minScale=2

Types

This section is empty.

Jump to

Keyboard shortcuts

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