Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Add power_trace option to rspec command #6

Open
st0012 opened this issue Jul 13, 2020 · 0 comments
Open

Add power_trace option to rspec command #6

st0012 opened this issue Jul 13, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@st0012
Copy link
Owner

st0012 commented Jul 13, 2020

Something like

$ rspec --power_trace

So the users won't need to toggle power_rspec_trace between tests.

(thanks @benoittgt for the idea!)

Implementation Plan

Patch https://github.com/rspec/rspec-core/blob/4fd54ca68ec66ebcaec2b7b5eb3d9c4fce5a5ae6/lib/rspec/core/option_parser.rb#L40

And to see if we can partially replicate the test here https://github.com/rspec/rspec-core/blob/d10e82d2aa83718a0fab2f3a421ff8a6b82762a6/spec/rspec/core/configuration_options_spec.rb

@st0012 st0012 added the enhancement New feature or request label Jul 13, 2020
@st0012 st0012 self-assigned this Jul 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant