https://github.com/kubernetes-csi/csi-test
CSI test frameworks
https://github.com/kubernetes-csi/csi-test
container-storage-interface containers csi ginkgo golang gomock grpc k8s-sig-storage kubernetes storage tests
Last synced: 4 months ago
JSON representation
CSI test frameworks
- Host: GitHub
- URL: https://github.com/kubernetes-csi/csi-test
- Owner: kubernetes-csi
- License: apache-2.0
- Created: 2017-10-24T14:59:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-10T09:20:42.000Z (6 months ago)
- Last Synced: 2025-04-10T10:46:25.081Z (6 months ago)
- Topics: container-storage-interface, containers, csi, ginkgo, golang, gomock, grpc, k8s-sig-storage, kubernetes, storage, tests
- Language: Go
- Homepage:
- Size: 22.3 MB
- Stars: 164
- Watchers: 14
- Forks: 152
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG/CHANGELOG-2.1.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
- Security: SECURITY_CONTACTS
Awesome Lists containing this project
README
[](https://testgrid.k8s.io/sig-storage-csi-other#pull-kubernetes-csi-csi-test)
# 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](https://github.com/golang/mock) framework. Please see
[co_test.go](test/co_test.go) for an example.## For CSI Driver Tests
To test drivers please take a look at [pkg/sanity](https://github.com/kubernetes-csi/csi-test/tree/master/pkg/sanity).
This package and [csi-sanity](https://github.com/kubernetes-csi/csi-test/tree/master/cmd/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](http://kubernetes.io/community/).
You can reach the maintainers of this project at:
* [Slack channel](https://kubernetes.slack.com/messages/sig-storage)
* [Mailing list](https://groups.google.com/forum/#!forum/kubernetes-sig-storage)
### Code of conduct
Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).