kubedog

package module
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

Kubedog

Test Status codecov

This is a simple wrapper of Godog with some predefined steps and their implementations. It targets the functional testing of Kubernetes components working in AWS.

The library has one purpose – save you from the hassle of implementing steps and hooks with the compromise of using predefined syntax. But of course, you could always redefine the steps using custom syntax and pass the corresponding kubedog methods.

Resources

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {
	KubeClientSet kube.ClientSet
	AwsClientSet  aws.ClientSet
	// contains filtered or unexported fields
}

func (*Test) SetScenario

func (kdt *Test) SetScenario(scenario *godog.ScenarioContext)

SetScenario sets the ScenarioContext and contains the steps definition, should be called in the InitializeScenario function required by godog. Check https://github.com/keikoproj/kubedog/blob/master/docs/syntax.md for steps syntax details.

func (*Test) SetTestSuite

func (kdt *Test) SetTestSuite(testSuite *godog.TestSuiteContext)

SetTestSuite sets the TestSuiteContext, should be use in the InitializeTestSuite function required by godog.

Directories

Path Synopsis
examples
generate
internal
pkg
aws

Jump to

Keyboard shortcuts

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