No commit activity in last 3 years
No release in over 3 years
Assigns keys to tests and sends the results of a run to ROX Center.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 0.13
~> 2.1
~> 0.8
~> 10.1
~> 3.1
 Project Readme

RSpec ROX Client

RSpec client for ROX Center.

Gem Version

Requirements

  • RSpec 3.1 (0.4+)
    • RSpec 2.14 is supported up to version 0.3.1

Installation

In your Gemfile:

gem 'rox-client-rspec', '~> 0.4.1'

Manually:

gem install rox-client-rspec

Usage

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

To track a test, you must assign it a ROX test key generated from your ROX Center server.

NOTE: currently, all the tests in your test suite must be assigned a test key for the client to work.

Test keys are assigned to test using RSpec metadata:

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

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

Setup

You must first set up the configuration file(s) for the project. This procedure is described in the rox-client repository:

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

RoxClient::RSpec.configure do |config|

  # Optional ROX Center 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 ROX Client will send the results to your ROX Center 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

The RSpec ROX Client is licensed under the MIT License. See LICENSE.txt for the full license.