Files
kubernetes/test/e2e/testing-manifests
Patrick Ohly a39b3877e9 storage e2e: update mock deployment
These changes were created automatically with the updated update-hostpath.sh
script.
2021-12-02 16:18:26 +01:00
..
2021-07-27 22:01:43 -07:00
2021-07-27 22:01:43 -07:00
2021-08-29 21:50:05 -07:00
2018-04-24 19:45:43 +01:00

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.