Giter Site home page Giter Site logo

oskar-flores / beaker-rspec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from voxpupuli/beaker-rspec

0.0 1.0 0.0 78 KB

Tickets now tracked in Jira

Home Page: https://tickets.puppetlabs.com/browse/BKR/

License: Apache License 2.0

Ruby 100.00%

beaker-rspec's Introduction

beaker-rspec

Bridge between puppet acceptance test harness (beaker) and rspec.

Runtime

Require beaker-rspec at the top of your spec_helper_acceptance.rb to have it initialize beaker for you:

require 'beaker-rspec/spec_helper'

By default it will load the nodeset from spec/acceptance/nodesets/default.yml. The tests will then have access to those hosts.

The following environment variables can be used to influence how beaker works:

  • BEAKER_color: set to no to disable color output
  • BEAKER_set: choose a nodeset from spec/acceptance/nodesets/*.yml; defaults to default
  • BEAKER_setfile: specify a nodeset using a full path
  • BEAKER_provision: set to no to re-use existing VMs
  • BEAKER_keyfile: specify alternate SSH key
  • BEAKER_debug: set to any value to enable beaker debug logging
  • BEAKER_destroy: set to no to keep the VMs after the test run. Set to onpass to keep the VMs around only after a test failure.

For details on the specific mappings, the setup code and the beaker docs.

beaker-rspec's People

Contributors

hunner avatar kevpl avatar puppetlabs-jenkins avatar colinpl avatar electrical avatar cmurphy avatar davids avatar justinstoller avatar petems avatar rooprob avatar

Watchers

James Cloos 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.