CSI test frameworks
Go to file
Kubernetes Prow Robot 35eb219ce5
Merge pull request #524 from huww98/create-capacity
use MakeCreateVolumeReq()
2025-04-14 01:20:49 -07:00
.github
CHANGELOG
cmd/csi-sanity
driver
hack
internal
pkg/sanity
release-tools
test
utils
vendor
.cloudbuild.sh
.gitignore
.prow.sh
.travis.yml
CONTRIBUTING.md
LICENSE
Makefile
OWNERS
OWNERS_ALIASES
README.md
SECURITY_CONTACTS
cloudbuild.yaml
code-of-conduct.md
go.mod
go.sum
hooks-howto.md

README.md

Build Status

csi-test

csi-test houses packages and libraries to help test CSI client and plugins.

For Container Orchestration Tests

CO developers can use this framework to create drivers based on the Golang mock framework. Please see co_test.go for an example.

For CSI Driver Tests

To test drivers please take a look at pkg/sanity. This package and csi-sanity are meant to test the CSI API capability of a driver. They are meant to be an additional test to the unit, functional, and e2e tests of a CSI driver.

Note

  • Master is for CSI v1.3.0. Please see the branches for other CSI releases.
  • Building has been tested with the Go version specified in release-tools/travis.yml

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.