Giter Club home page Giter Club logo

look-out's Introduction

Look Out

In charge of the observation of the code for hazards.

Installation

Add this line to your application's Gemfile:

group :development, :test do
    gem 'look_out', require: false
end

And then initialize:

# spec/spec_helper.rb

require 'look_out'
LookOut.configure do |config|
  config.api_key = '123'
  config.user = `git config user.name`.chomp
end

Add to your .rspec


--require 'look_out/rspec/look_out_formatter'
--format LookOut::RSpec::LookOutFormatter

# Make sure you have a formatter after this one in your .rspec or there will
# be no output from your spec suite. For example:

--format doc

# or

--format progress

VCR

If you're using VCR it may raise an exception for an unexpected HTTP request. If so you can ignore it with:


VCR.configure do |config|
  ...
  config.ignore_hosts 'api.sea-aye.com'
  ...
end

Usage

Run specs just like normal!

If you're running your specs against merged code you can force reporting for the correct sha by setting a special environment variable.

export GIT_COMMIT_SHA='the-real-sha-aavvcc'

Contributing

Bug reports and pull requests are welcome!

look-out's People

Contributors

andrewhood125 avatar dependabot-preview[bot] avatar dependabot-support avatar

Stargazers

Andrew Johnson avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

sea-aye-dev

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.