Skip to content

Run specs in random order

Arturo Herrero requested to merge 407877-specs-in-random-order into master

Description

This runs some specs in random order.

I use the following script to modify the YAML file:

grep '^-' "spec/support/rspec_order_todo.yml" | sed -e 's/^- //' -e 's/^"//' -e 's/"$//' -e "s/^'//" -e "s/'$//" | while read -r file_path; do scripts/rspec_check_order_dependence "$file_path"; done

Reference: https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#test-order

Related to #407877

Edited by Arturo Herrero

Merge request reports

Loading