testing

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Features = []testlib.Feature{
		testlib.FeatureBasic,
		testlib.FeatureRedelivery,
		testlib.FeaturePersistence,
		testlib.FeatureBatch,
		testlib.FeatureLongLiving,
	}

	Components = []metav1.TypeMeta{
		{
			Kind:       "Broker",
			APIVersion: "eventing.knative.dev/v1",
		},
		{
			Kind:       "Broker",
			APIVersion: "eventing.knative.dev/v1beta1",
		},
	}
)

Functions

func RunMultiple

func RunMultiple(t *testing.T, f func(t *testing.T))

RunMultiple run test function f `rerunTimes` times.

func RunMultipleN

func RunMultipleN(t *testing.T, n int, f func(t *testing.T))

RunMultiple run test function f n times.

Types

This section is empty.

Jump to

Keyboard shortcuts

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