Permalink
Browse files

Fixing Parallel Tests error

  • Loading branch information...
Shashikant86 committed Jan 7, 2017
1 parent 4bb23ee commit bc84a114daca992ef3e2975547c808d98bdfc580
Showing with 10 additions and 4 deletions.
  1. +5 −0 Gemfile.lock
  2. +1 −0 bddfire.gemspec
  3. +1 −1 lib/bddfire/version.rb
  4. +2 −2 scaffold/config_files/Rakefile
  5. +1 −1 scaffold/config_files/cucumber.yml
View
@@ -12,6 +12,7 @@ PATH
json
magic_encoding
nokogiri
+ parallel_cucumber
poltergeist
rake
redcarpet
@@ -113,6 +114,10 @@ GEM
netrc (0.11.0)
nokogiri (1.7.0.1)
mini_portile2 (~> 2.1.0)
+ parallel (1.10.0)
+ parallel_cucumber (0.1.22)
+ cucumber (~> 2)
+ parallel (~> 1.6)
parser (2.3.3.1)
ast (~> 2.2)
poltergeist (1.12.0)
View
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
s.description = 'A Wholesale framework for web, mobile, api, load, accessibility testing. Get you going in a minute. An instant setup of Ruby, Cucumber, Capybara, selenium, REST API Appium, Docker, Gatling and Axe Engine'
s.add_runtime_dependency "bundler"
s.add_runtime_dependency "nokogiri"
+ s.add_runtime_dependency "parallel_cucumber"
s.add_runtime_dependency "cucumber"
s.add_runtime_dependency "capybara"
s.add_runtime_dependency "poltergeist"
View
@@ -1,3 +1,3 @@
module BDDfire
- VERSION = '2.0.5'.freeze
+ VERSION = '2.0.6'.freeze
end
@@ -19,7 +19,7 @@ end
task :parallel_run do
puts '===== Executing Tests in parallel'
system 'bundle exec parallel_cucumber features/ -o "-p parallel -p pretty" -n 10'
- puts ' ====== Parallel execution finished and cucumber_failure.log created ========='
+ puts ' ====== Parallel execution finished ========'
end
task :rerun do
@@ -31,7 +31,7 @@ task :rerun do
end
end
-task parallel_cucumber: [:cleanup, :parallel_run, :rerun]
+task parallel_cucumber: [:cleanup, :parallel_run]
# Rake::Task["parallel_cucumber"].invoke
@@ -12,4 +12,4 @@ sauce : DRIVER=sauce
chrome: DRIVER=chrome
parallel_html: --format html --out reports/process<%= ENV['TEST_ENV_NUMBER'] %>.html
pretty: -f pretty
-parallel: --format pretty -p poltergeist --profile parallel_html --format ParallelTests::Cucumber::FailuresLogger --out cucumber_failures.log
+parallel: --format pretty -p poltergeist --profile parallel_html

0 comments on commit bc84a11

Please sign in to comment.