相关疑难解决方法(0)

如何通过rake任务传递-f specdoc选项

我正在使用rails 2.3.5 .rake spec工作正常.

这是来自spec --help.

spec --help

-f, --format FORMAT[:WHERE]      Specifies what format to use for output. Specify WHERE to tell
                                    the formatter where to write the output. All built-in formats
                                    expect WHERE to be a file name, and will write to $stdout if it's
                                    not specified. The --format option may be specified several times
                                    if you want several outputs

                                    Builtin formats:
                                    silent|l                 : No output
                                    progress|p               : Text-based progress bar
                                    profile|o                : Text-based progress bar with profiling of …
Run Code Online (Sandbox Code Playgroud)

rspec ruby-on-rails

6
推荐指数
2
解决办法
1586
查看次数

标签 统计

rspec ×1

ruby-on-rails ×1