I have a problem when I run tests on Sauce Labs using watir + ruby + rspec via Jenkins CI. The entire test suite executes very slow. How can I improve the execution speed?
To improve test suite execution speed I recommend to use 'parallel_tests' gem. Just add line gem 'parallel_tests'
to your Gemfile, then in command prompt run:
bundle update #to setup new gem
bundle exec parallel_rspec /spec #to run your tests in parallel
That's work for me. Thanks orde too.