Displaying 2 results from an estimated 2 matches for "spec_report".
Did you mean:
set_report
2007 Jul 26
3
Canonical way to generate RSpec HTML report in Rails app
Hi!
I was just wondering how you typically generate a spec HTML report in
a Rails app. Currently I''m doing something like this:
spec spec -f h:spec/spec_report.html
But that seems sort of clumsy and I would have thought that there was
a rake task for it. Have I overlooked something?
Thanks!
Peter
----------------------------
Peter Marklund
Garvar Lundins Gr?nd 7
11220 Stockholm
Sweden
Mobile Phone: +46-(0)70-4164857
Home Phone: +46-(0)8-50091315...
2007 May 10
1
RSpec 0.9.4
...I Specs"
Spec::Rake::SpecTask.new(''spec:ui'') do |t|
t.spec_files = FileList[''spec/**/*.rb'']
t.spec_opts = [
''--require'', ''spec/spec_helper'',
''--format'', ''Spec::Ui::ScreenshotFormatter:spec_report.html'',
''--format'', ''progress'',
]
end
=== spec_helper.rb ===
# require this file from all your specs under MYAPP/spec/watir or
MYAPP/spec/selenium
require ''rubygems''
require ''spec''
require ''spec/ui'&...