/rspec-teamcity

TeamCity's rspec reporter

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

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