Read more

Skip Selenium scenarios in a Cucumber run

Henning Koch
March 22, 2011Software engineer at makandra GmbH

Cucumber scenarios that are tagged with @javascript so they run with Selenium are very slow. You might not want to run them every time.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

In order to skip all Selenium scenarios, call Cucumber like this:

cucumber --tags ~@javascript

Note that you should still run all the scenarios, including the Selenium ones, before you push a change.

Posted by Henning Koch to makandra dev (2011-03-22 19:05)