Git Product home page Git Product logo

beaker-http's Introduction

beaker-http

This library adds the ability to send http traffic from the beaker coordinator itself, reducing the need to use beaker's DSL method on as an interface to curl on a SUT(System Under Test). It utilizes the Faraday library to generate requests, and the Connection class in the Beaker::Http module is the class you want to use directly, either utilizing it directly or subclassing it to build your own Connection class.

Please use the DSL methods included in this library here. Reference the rubydocs for more information on how to use these methods.

spec testing

Spec tests all live under the spec folder. These are the default rake task, & so can be run with a simple bundle exec rake, as well as being fully specified by running bundle exec rake test:spec:run or using the test:spec task.

acceptance testing

The acceptance folder currently contains one acceptance test that demonstrates how to use this in a beaker test; as we refine this module and solidify the API, more thorough acceptance testing will be coming. For now, please use that test as an example of how to use this library.

beaker-http's People

Contributors

dakta avatar kevpl avatar puppetlabs-jenkins avatar samwoods1 avatar steveax avatar tvpartytonight avatar zreichert 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.