HomePhorge

Add ability to log spec test order to a file
db0b27b52f60Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add ability to log spec test order to a file

This commit tweaks the spec_helper to give it the
ability to log the spec test order to a file. It
will only log the order if you have set the
environment variable "LOG_SPEC_ORDER", e.g.:

LOG_SPEC_ORDER=true rspec spec

This will be useful when using Nick L.'s bisect
script to identify order-dependent spec failures.
It should probably be enabled on all of our
Jenkins jobs, and would potentially allow us to
start running them with the random order flag
enabled.

Details

Provenance
Chris Price <chris@puppetlabs.com>Authored on
cprice <chris@puppetlabs.com>Committed on Apr 20 2012, 2:38 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb7c4fe3ef4cc: Merge remote-tracking branch 'daniel-pittman/maint/master/add-array-drop-to-1.
Branches
Unknown
Tags
Unknown

Event Timeline

cprice <chris@puppetlabs.com> committed rPUdb0b27b52f60: Add ability to log spec test order to a file (authored by Chris Price <chris@puppetlabs.com>).Apr 20 2012, 2:38 AM