Skip to content

Instantly share code, notes, and snippets.

@pweldon
Created October 13, 2011 22:57
Show Gist options
  • Save pweldon/1285778 to your computer and use it in GitHub Desktop.
Save pweldon/1285778 to your computer and use it in GitHub Desktop.
rspec junit formatter
source 'http://rubygems.org'
gem 'rspec'
gem 'rspec_junit_formatter', :git => 'git://github.com/pweldon/rspec_junit_formatter.git'
GIT
remote: git://github.com/pweldon/rspec_junit_formatter.git
revision: 742213dc7f2afd3d8ce5f16093de47e9853db5b4
specs:
rspec_junit_formatter (0.1.0)
builder
rspec (~> 2.0)
GEM
remote: http://rubygems.org/
specs:
builder (3.0.0)
diff-lcs (1.1.3)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
PLATFORMS
x86-mingw32
DEPENDENCIES
rspec
rspec_junit_formatter!
describe 'JUnit Formatter' do
describe 'With nested example group' do
it 'supports a passing test' do
true.should be_true
end
it 'supports a failing test' do
false.should be_true
end
it 'supports a pending test'
end
end
describe 'JUnit Formatter' do
describe 'With nested example group' do
it 'supports a passing test' do
true.should be_true
end
it 'supports a failing test' do
false.should be_true
end
it 'supports a pending test'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment