GithubHelp home page GithubHelp logo

libopenstorage / csi-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kubernetes-csi/csi-test

0.0 2.0 0.0 20.86 MB

CSI test frameworks

License: Apache License 2.0

Go 67.02% Makefile 4.55% Shell 26.25% Dockerfile 0.29% Python 1.89%

csi-test's Introduction

Build Status Docker Repository on gcr

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.

Mock driver for testing

We also provide a container called k8s.gcr.io/sig-storage/mock-driver which can be used as an in-memory mock driver. You will need to setup the environment variable CSI_ENDPOINT for the mock driver to know where to create the unix domain socket.

There is an example deployment for experiment with the mock csi driver.

For more complicated test-cases see how to use JavaScript hooks from the driver.

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.

csi-test's People

Contributors

alexanderkhaustov avatar avalluri avatar bswartz avatar codenrhoden avatar darkowlzz avatar davidz627 avatar ddebroy avatar edisonxiang avatar fengzixu avatar gnufied avatar humblec avatar jarrpa avatar jiawei0227 avatar jsafrane avatar k8s-ci-robot avatar lpabon avatar madhu-1 avatar mlmhl avatar msau42 avatar mucahitkurt avatar namrata-ibm avatar okartau avatar pohly avatar saad-ali avatar sbezverk avatar spiffxp avatar taaraora avatar timoreimann avatar wackxu avatar xing-yang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.