trying rspec-retry
parent
3cd28b28e2
commit
e873c87f0b
|
@ -91,3 +91,4 @@ docker-compose.local*
|
||||||
|
|
||||||
# Ignore python bytecode
|
# Ignore python bytecode
|
||||||
*.pyc
|
*.pyc
|
||||||
|
rspec.failures
|
||||||
|
|
|
@ -18,8 +18,8 @@ rvm:
|
||||||
env:
|
env:
|
||||||
# TODO: restore these tests when the code passes them!
|
# TODO: restore these tests when the code passes them!
|
||||||
# - CMD='bundle exec rake cucumber cucumber:boot CREATE_BINSTUBS=true'
|
# - CMD='bundle exec rake cucumber cucumber:boot CREATE_BINSTUBS=true'
|
||||||
- CMD='bundle exec rake spec SPEC_OPTS="--tag content"'
|
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content"'
|
||||||
- CMD='bundle exec rake spec SPEC_OPTS="--tag ~content"'
|
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content"'
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
1
Gemfile
1
Gemfile
|
@ -33,6 +33,7 @@ group :development, :test do
|
||||||
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
|
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
|
||||||
# environment is development
|
# environment is development
|
||||||
gem 'rspec-rails'
|
gem 'rspec-rails'
|
||||||
|
gem 'rspec-rerun'
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
|
|
|
@ -312,6 +312,10 @@ GEM
|
||||||
rex-text
|
rex-text
|
||||||
rkelly-remix (0.0.7)
|
rkelly-remix (0.0.7)
|
||||||
robots (0.10.1)
|
robots (0.10.1)
|
||||||
|
rspec (3.6.0)
|
||||||
|
rspec-core (~> 3.6.0)
|
||||||
|
rspec-expectations (~> 3.6.0)
|
||||||
|
rspec-mocks (~> 3.6.0)
|
||||||
rspec-core (3.6.0)
|
rspec-core (3.6.0)
|
||||||
rspec-support (~> 3.6.0)
|
rspec-support (~> 3.6.0)
|
||||||
rspec-expectations (3.6.0)
|
rspec-expectations (3.6.0)
|
||||||
|
@ -328,6 +332,8 @@ GEM
|
||||||
rspec-expectations (~> 3.6.0)
|
rspec-expectations (~> 3.6.0)
|
||||||
rspec-mocks (~> 3.6.0)
|
rspec-mocks (~> 3.6.0)
|
||||||
rspec-support (~> 3.6.0)
|
rspec-support (~> 3.6.0)
|
||||||
|
rspec-rerun (1.1.0)
|
||||||
|
rspec (~> 3.0)
|
||||||
rspec-support (3.6.0)
|
rspec-support (3.6.0)
|
||||||
ruby_smb (0.0.18)
|
ruby_smb (0.0.18)
|
||||||
bindata
|
bindata
|
||||||
|
@ -381,6 +387,7 @@ DEPENDENCIES
|
||||||
rake
|
rake
|
||||||
redcarpet
|
redcarpet
|
||||||
rspec-rails
|
rspec-rails
|
||||||
|
rspec-rerun
|
||||||
shoulda-matchers
|
shoulda-matchers
|
||||||
simplecov
|
simplecov
|
||||||
timecop
|
timecop
|
||||||
|
|
1
Rakefile
1
Rakefile
|
@ -11,6 +11,7 @@ Metasploit::Framework::Require.optionally_active_record_railtie
|
||||||
|
|
||||||
begin
|
begin
|
||||||
require 'rspec/core'
|
require 'rspec/core'
|
||||||
|
require 'rspec-rerun/tasks'
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
puts "rspec not in bundle, so can't set up spec tasks. " \
|
puts "rspec not in bundle, so can't set up spec tasks. " \
|
||||||
"To run specs ensure to install the development and test groups."
|
"To run specs ensure to install the development and test groups."
|
||||||
|
|
Loading…
Reference in New Issue