Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minitest_rollbar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitest_rollbar

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

MinitestRollbar

minitest_rollbar is a gem to log test exceptions to rollbar. This is useful in a CI environment to gather statistics on common exceptions that could indicate infrastructer related issues.

Installation

Add this line to your application's Gemfile:

  gem 'minitest_rollbar'

And then execute:

  $ bundle install

Or install it yourself as:

  $ gem install minitest_rollbar

Usage

Require necessary files in the test_helper:

  require 'minitest_rollbar'

Get a reporter with access_token and ssl policy using:

  MinitestRollbar::RollbarReporter.new(rollbar_config: { verify_ssl_peer: false, access_token: 'whatever' })

By default, occurrences are grouped by string and returned by exception.inspect (Concatenate exception class name and message). We generate a fingerprint for that. To use rollbar's default grouping algorithm use:

  MinitestRollbar.use_default_grouping = true

License

This gem is available under the MIT License.

  • Copyright (c), 2016-2020, AppFolio, Inc.

FAQs

Package last updated on 21 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc