features

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutputPath

func GetOutputPath(t *string) (*os.File, error)

GetOutputPath gets the output path for the test based on the output directory plus the test name supplied

func GetRootDir

func GetRootDir() (string, error)

GetRootDir ...

func GodogTestHandler

func GodogTestHandler(gd *coreengine.GodogTest) (int, *bytes.Buffer, error)

GodogTestHandler ...

func InMemGodogTestHandler

func InMemGodogTestHandler(gd *coreengine.GodogTest) (int, *bytes.Buffer, error)

func LogAndReturnError

func LogAndReturnError(e string, v ...interface{}) error

LogAndReturnError logs the given string and raise an error with the same string. This is useful in Godog steps where an error is displayed in the test report but not logged.

func LogScenarioEnd

func LogScenarioEnd(s *godog.Scenario)

LogScenarioEnd logs the name and tags associtated with the supplied scenario.

func LogScenarioStart

func LogScenarioStart(s *godog.Scenario)

LogScenarioStart logs the name and tags associtated with the supplied scenario.

func SetOutputDirectory

func SetOutputDirectory(d *string)

SetOutputDirectory ...

func ToFileGodogTestHandler

func ToFileGodogTestHandler(gd *coreengine.GodogTest) (int, *bytes.Buffer, error)

Types

This section is empty.

Directories

Path Synopsis
kubernetes
podsecuritypolicy/assets
Code generated for package podsecuritypolicy by go-bindata DO NOT EDIT.
Code generated for package podsecuritypolicy by go-bindata DO NOT EDIT.

Jump to

Keyboard shortcuts

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