Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 652 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 652 Bytes

rspec-teamcity

TeamCity rspec reporter

TeamCity has a built in rspec reporter, but it only works in certain scenarios. I ran into a scenario where I needed to run spec on an EC2 machine and TeamCity needed to know the results, so I created this for situations like that.

Installation

Add to your Gemfile

gem 'rspec-teamcity', '~> 1.0.0'

Usage

rspec spec --require <absolute-path-to-source-code> --format Spec::Runner::Formatter::TeamcityFormatter
require 'rspec/teamcity'
RSpec.configure do |config|
  config.add_formatter Spec::Runner::Formatter::TeamcityFormatter
end