New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qspec

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qspec

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Qspec

Qspec makes rspec test fast. Q is for queue and quick.

Installation

Add this line to your application's Gemfile:

gem 'qspec'

And then execute:

$ bundle

Or install it yourself as:

$ gem install qspec

Additional Installation

You can use spork to cut the overhead of Qspec startup. Use 1.0. Old spork does not detect Qspec.

  gem 'spork', '~> 1.0rc'

If you are on rails, remember to add spork-rails too.

By default, qspec uses file based inter-process communication. This is poorly implemented and becomes a burden.

We recommend to use redis.

  • Setting up redis-server with default port
  • Add redis gem to your Gemfile
  • Specify redis for IPC method in .qspec.yml

Usage

Installing this gem adds qspec and qspec-helper commands.

Setup

$ bundle exec qspec-helper init
# edit .qspec.yml

Run spec

bundle exec qspec spec/

Run with spork

bundle exec qspec-helper spork
bundle exec qspec spec/

Configuration

All configuration is done through .qspec.yml. qspec-helper init will generate the template, but there are more options.

redis

This option is given to redis's constructor. See redis-rb/README.md for more details.

redis:
    host: localhost
    port: 6379
    namespace: qspec
    driver: hiredis

Contributing

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

FAQs

Package last updated on 17 Jul 2014

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