tree: b8bf934dbbeaf5281128bd63b0d5741565b9d170 [path history] [tgz]
  1. auth/
  2. cluster-dns/
  3. dra/
  4. flexvolume/
  5. guestbook/
  6. ingress/
  7. kubectl/
  8. sample-device-plugin/
  9. scheduling/
  10. serviceloadbalancer/
  11. statefulset/
  12. storage-csi/
  13. embed.go
  14. pod
  15. rbd-storage-class.yaml
  16. README.md
test/e2e/testing-manifests/README.md

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.