[rspec-devel] [ rspec-Patches-10545 ] Removal of --options when appropriate

noreply at rubyforge.org noreply at rubyforge.org
Sun May 6 12:21:10 EDT 2007


Patches item #10545, was opened at 2007-05-03 07:19
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=10545&group_id=797

Category: runner module
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Scott Taylor (smtlaissezfaire)
Assigned to: Nobody (None)
Summary: Removal of --options when appropriate

Initial Comment:
Consider a spec command like the following:

spec some_spec --options filename.txt --format failing_examples:filename.txt

What happens when the file filename.txt does not exist?  The file gets created, and no specs are run.  This patch addresses this problem by removing the appropriate option.

----------------------------------------------------------------------

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-05-06 16:21

Message:
It makes no sense that anybody would intentionally use the same filename for these two orthogonal concepts. Even if they do by accident, quietly processing only one file would make it even more difficult to understand what went wrong.

Am I missing something?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=10545&group_id=797


More information about the rspec-devel mailing list