Skip to content


Subversion checkout URL

You can clone with
Download ZIP


format_option.feature refers to a syntax that isn't actually supported #704

jfirebaugh opened this Issue · 2 comments

3 participants


It refers to a formatter:filename syntax that doesn't actually work:

$ rspec spec --format documentation:rspec.output.txt
/Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:482:in `add_formatter': Formatter 'documentation:rspec.output.txt' unknown - maybe you meant 'documentation' or 'progress'?. (ArgumentError)
    from /Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb:23:in `block in configure'
    from /Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb:23:in `each'
    from /Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb:23:in `configure'
    from /Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:21:in `run'
    from /Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'
    from /Users/john/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `block in autorun'

I think this is meant to refer to the --out option instead.


It looks like --format documentation:<output> was never expected. I vote for just switching it to a --out.

@alindeman alindeman closed this issue from a commit
@vanstee vanstee Fix example of --format with --out
Seperating format and output file with a colon was never supported and
was probably added by accident. The output filename was also updated to
be consistent with later examples. Fixes #704
@alindeman alindeman closed this in 5561e17
@charliemaffitt charliemaffitt referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.