Code Monkey home page Code Monkey logo

tests-1's Introduction

Build Status Build Status Build Status

Clear Containers Tests Repository

This repository contains the test suite for the Clear Containers 3.0 project, including functional and integration tests with Docker*, Kubernetes* and OpenShift*.

A properly set up environment with Clear Containers is needed to execute these tests. For instructions on how to setup Clear Containers, please refer to the: Installation Guides

Functional tests

Execute:

	$ sudo -E PATH=$PATH make functional

Docker integration tests

Execute:

	$ sudo -E PATH=$PATH make integration

Functional and Docker integration tests

Execute:

	$ sudo -E PATH=$PATH make check

Environment variables

By default, these tests use the version of cc-runtime set in the environment variable RUNTIME, but you can easily change it. For example:

	$ RUNTIME="/usr/local/bin/cc-runtime" make functional

In the above example, the version of runtime installed in /usr/local/bin is being used.

These are the environment variables that you can change:

  • RUNTIME - Path of Clear Containers runtime, the default path is cc-runtime.
  • TIMEOUT - Time limit in seconds for each test, the default timeout is 15.

QA gating process

The Clear Containers project has a gating process to prevent introducing regressions. When a patch is submitted via a pull request (PR), a continuous integration system launches tests in different machines to ensure the change does not break current functionality.

The tests executed are:

  • Functional Tests
  • Integration Tests
  • Docker popular images tests

If a failure is detected in any of these tests, the pull request will be blocked to prevent it from being merged. To reproduce the failure locally, you can execute the tests on your environment using these instructions.

If new functionality is being added on a PR, it is recommended to at least add a basic functional test to verify it works correctly and/or open an issue in this repository to develop more tests for this new functionality.

tests-1's People

Contributors

amshinde avatar bwarden avatar chavafg avatar gabyct avatar gorozco1 avatar grahamwhaley avatar jcvenegas avatar jodh-intel avatar mariocarrilloa avatar mcastelino 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.