testing_manifests

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

README

test/e2e/testing-manifests

Embedded Test Data

In case one needs to use any test fixture inside your tests and those are defined inside this directory, they need to be added to the //go:embed directive in embed.go.

For example, if one wants to include this Readme as a test fixture (potential bad idea in reality!),

// embed.go

...
//go:embed some other files README.md
...

This fixture can be accessed in the e2e tests using test/e2e/framework/testfiles.Read like testfiles.Read("test/e2e/testing-manifests/README.md).

This is needed since migrating to //go:embed from go-bindata.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetE2ETestingManifestsFS

func GetE2ETestingManifestsFS() e2etestfiles.EmbeddedFileSource

Types

This section is empty.

Jump to

Keyboard shortcuts

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