Probe Dock RSpec

RSpec probe for Probe Dock.

Gem Version Dependency Status Build Status Coverage Status License

Requirements

  • RSpec 3+

Installation

In your Gemfile:

gem 'probe-dock-rspec', '~> 0.4.1'

Manually:

gem install probe-dock-rspec

Usage

If you haven't done it already, follow the setup procedure below.

To track a test with a Probe Dock test key, use RSpec metadata:

it "should work", probe_dock: { key: 'abcdefghijkl' } do
  expect(true).to be(true)
end

it(nil, probe_dock: { key: 'bcdefghijklm' }){ should validate_presence_of(:name) }

Setup

You must first set up the configuration file(s) for the project. This procedure is described here:

You must then enable the client in your spec helper file (e.g. spec/spec_helper.rb).

ProbeDockRSpec.configure do |config|

  # Optional category to add to all the tests sent with this client.
  config.project.category = 'RSpec'
end

The next time you run your test suite, the RSpec probe will send the results to your Probe Dock server.

Contributing

  • Fork
  • Create a topic branch - git checkout -b my_feature
  • Push to your branch - git push origin my_feature
  • Create a pull request from your branch

Please add a changelog entry with your name for new features and bug fixes.

License

Probe Dock RSpec is licensed under the MIT License. See LICENSE.txt for the full license.