GithubHelp home page GithubHelp logo

nvmlabs / test-kitchen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from test-kitchen/test-kitchen

0.0 6.0 0.0 2.61 MB

Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms.

Home Page: http://kitchen.ci

License: Other

Ruby 99.49% Shell 0.51%

test-kitchen's Introduction

Test Kitchen

Gem Version Build Status Code Climate Test Coverage Dependency Status Inline docs

Website http://kitchen.ci
Source Code http://kitchen.ci/docs/getting-started/
IRC #kitchenci channel on Freenode, transcript thanks to BotBot.me
Twitter @kitchenci

Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms.

Getting Started Guide

To learn how to install and setup Test Kitchen for developing infrastructure code, check out the Getting Started Guide.

If you want to get going super fast, then try the Quick Start next...

Quick Start

Test Kitchen is a RubyGem and can be installed with:

$ gem install test-kitchen

If you use Bundler, you can add gem "test-kitchen" to your Gemfile and make sure to run bundle install.

Next add support to your library, Chef cookbook, or empty project with kitchen init:

$ kitchen init

A .kitchen.yml will be created in your project base directory. This file describes your testing configuration; what you want to test and on which target platforms. Each of these suite and platform combinations are called instances. By default your instances will be converged with Chef Solo and run in Vagrant virtual machines.

Get a listing of your instances with:

$ kitchen list

Run Chef on an instance, in this case default-ubuntu-1204, with:

$ kitchen converge default-ubuntu-1204

Destroy all instances with:

$ kitchen destroy

You can clone a Chef cookbook project that contains Test Kitchen support and run through all the instances in serial by running:

$ kitchen test

Usage

There is help included with the kitchen help subcommand which will list all subcommands and their usage:

$ kitchen help test

More verbose logging (for both test-kitchen and the chef-solo/chef-zero provisioners) can be specified when running test-kitchen form the command line using:

$ kitchen test -l debug

Documentation

Documentation is being added on the Test Kitchen website. Please read and contribute to improve them!

Versioning

Test Kitchen aims to adhere to Semantic Versioning 2.0.0.

Development

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors

Created and maintained by Fletcher Nichol ([email protected]) and a growing community of contributors.

License

Apache License, Version 2.0 (see LICENSE)

test-kitchen's People

Contributors

fnichol avatar sethvargo avatar miketheman avatar schisamo avatar adamhjk avatar benlangfeld avatar gondoi avatar scoop206 avatar arangamani avatar rarenerd avatar lamont-granquist avatar sawanoboly avatar portertech avatar scarolan avatar ryansouza avatar justincampbell avatar josephholsten avatar reset avatar calavera avatar chrishenry avatar hollow avatar smith avatar coderanger avatar fnordfish avatar rteabeault avatar rhass avatar ryotarai avatar scotthain avatar stevendanna avatar zts avatar

Watchers

James Cloos avatar  avatar Martin Lewis avatar gareth marsden avatar Christian Clarke avatar Matthew Churcher 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.