Skip to content

Commit

Permalink
Fixing minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashikant86 committed May 30, 2016
1 parent 8f33ea6 commit fe0d257
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bin/bddfire
Expand Up @@ -84,7 +84,7 @@ def msg(title, &_block)
puts "\n" + '-' * 10 + title + '-' * 10
yield
puts '-' * 10 + '-------' + '-' * 10 + "\n"
sleep 2
sleep 1
end

def install
Expand Down
2 changes: 1 addition & 1 deletion lib/bddfire/version.rb
@@ -1,3 +1,3 @@
module BDDfire
VERSION = '2.0.2'.freeze
VERSION = '2.0.3'.freeze
end
16 changes: 8 additions & 8 deletions scaffold/config_files/Rakefile
Expand Up @@ -18,7 +18,7 @@ end

task :parallel_run do
puts '===== Executing Tests in parallel'
system 'bundle exec parallel_cucumber features/ -o "-p parallel -p poltergeist -p pretty" -n 10'
system 'bundle exec parallel_cucumber features/ -o "-p parallel -p pretty" -n 10'
puts ' ====== Parallel execution finished and cucumber_failure.log created ========='
end

Expand All @@ -40,31 +40,31 @@ YARD::Rake::YardocTask.new(:yard) do |t|
end

Cucumber::Rake::Task.new(:selenium) do |t|
t.cucumber_opts = 'features -p selenium --format pretty --profile html '
t.cucumber_opts = 'features -p selenium --format pretty --profile html -p ~@api '
end

Cucumber::Rake::Task.new(:poltergeist) do |t|
t.cucumber_opts = 'features -p poltergeist --format pretty --profile html '
t.cucumber_opts = 'features -p poltergeist --format pretty --profile html -p ~@api '
end

Cucumber::Rake::Task.new(:chrome) do |t|
t.cucumber_opts = 'features -p chrome --format pretty --profile html '
t.cucumber_opts = 'features -p chrome --format pretty --profile html -p ~@api '
end

Cucumber::Rake::Task.new(:sauce) do |t|
t.cucumber_opts = 'features -p sauce --format pretty --profile html '
t.cucumber_opts = 'features -p sauce --format pretty --profile html -p ~@api '
end

Cucumber::Rake::Task.new(:browserstack) do |t|
t.cucumber_opts = 'features -p browserstack --format pretty --profile html '
t.cucumber_opts = 'features -p browserstack --format pretty --profile html -p ~@api '
end

Cucumber::Rake::Task.new(:testingbot) do |t|
t.cucumber_opts = 'features -p testingbot --format pretty --profile html '
t.cucumber_opts = 'features -p testingbot --format pretty --profile html -p ~@api '
end

Cucumber::Rake::Task.new(:appium) do |t|
t.cucumber_opts = "features -p appium_android_web ADB_SERIAL=#{ADB_SERIAL} --format pretty --profile html "
t.cucumber_opts = "features -p appium_android_web ADB_SERIAL=#{ADB_SERIAL} --format pretty --profile html -p ~@api "
end

task :cuke_sniffer do
Expand Down
Expand Up @@ -3,5 +3,5 @@ Feature: Google Search to explore BDDfire

Scenario: View home page
Given I am on "http://www.google.com"
When I fill in "q" with the text "shashi"
When I fill in "q" with the text "bddfire"
Then I should see "Sign in"
4 changes: 4 additions & 0 deletions scaffold/scripts/accessibility
@@ -0,0 +1,4 @@
#!/bin/bash
PAGE=$1
cd accessibility
bundle exec cucumber -r features/general_accessibility_check.feature URL=$PAGE
4 changes: 4 additions & 0 deletions scaffold/scripts/load
@@ -0,0 +1,4 @@
#!/bin/bash

cd load
sh gatling_local.sh

0 comments on commit fe0d257

Please sign in to comment.