Posted 6 months ago. Visible to the public. Repeats.

Geordi: How to rerun failed features

Cucumber will save a file tmp/parallel_cucumber_failures.log will the filenames and line number of the failed scenarios after a full test run.

Normally you can say cucumber -p rerun (rerun is a profile defined by default in config/cucumber.yml) to rerun all failed scenarios. Unfortunately this does not work with geordi yet.

Here is a list of possible workarounds:

Copy
geordi firefox bundle exec cucumber -p rerun cat tmp/parallel_cucucmber_failures.log | xargs geordi cucumber geordi cucumber `cat tmp/parallel_cucumber_failures.log` DISPLAY=:17 bundle exec cucumber @tmp/parallel_cucumber_failures.log DISPLAY=:17 bundle exec cucumber -p rerun

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Emanuel De
Last edit:
6 months ago
by Michael Leimstädtner
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Emanuel De to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more