Skip to content

Commit

Permalink
trello#general - Test configuration updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopaez committed Jun 26, 2013
1 parent f86ca97 commit b67698f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
--colour
--format progress
--format RspecJunitFormatter --out reports/spec/spec.xml
2 changes: 2 additions & 0 deletions .simplecov
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
SimpleCov.start do
root(File.join(File.dirname(__FILE__)))

coverage_dir 'reports/coverage'

add_filter '/spec/'
add_filter '/features/'
add_filter '/admin/'
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ group :test do
gem 'simplecov'
gem 'dm-sqlite-adapter'
gem 'rspec'
gem 'rspec_junit_formatter'
gem 'capybara'
gem 'selenium-webdriver'
gem 'cucumber'
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ GEM
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.1)
rspec_junit_formatter (0.1.1)
builder
rspec (~> 2.0)
rubyzip (0.9.9)
safe_yaml (0.9.3)
selenium-webdriver (2.32.1)
Expand Down Expand Up @@ -250,6 +253,7 @@ DEPENDENCIES
rack-test
rake
rspec
rspec_junit_formatter
selenium-webdriver
simplecov
thin
Expand Down
1 change: 1 addition & 0 deletions features/coming_soon.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@wip
Feature: Coming soon
In order to warn users
As a product owner
Expand Down
2 changes: 1 addition & 1 deletion spec/spec.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ begin
spec_tasks.each do |folder|
RSpec::Core::RakeTask.new("spec:#{folder}") do |t|
t.pattern = "./spec/#{folder}/**/*_spec.rb"
t.rspec_opts = %w(-fs --color)
t.rspec_opts = %w(-fs --color --format progress --format RspecJunitFormatter --out reports/spec/spec.xml)
end
end

Expand Down

0 comments on commit b67698f

Please sign in to comment.