Re: [rspec-users] Canonical way to generate RSpec HTML report in Rails app

2007-07-26 Thread Johan Sørensen
On Jul 26, 2007, at 6:54 PM, Peter Marklund wrote: > Hi Don! > Thanks, that looks nice. For now I'm just using this bash alias: > > alias specdoc='spec spec -f h:spec/spec_report.html; open spec/ > spec_report.html' > > However, I guess it's nicer to have this be a Rake task so that it > can be u

Re: [rspec-users] Canonical way to generate RSpec HTML report in Rails app

2007-07-26 Thread Peter Marklund
Hi Don! Thanks, that looks nice. For now I'm just using this bash alias: alias specdoc='spec spec -f h:spec/spec_report.html; open spec/ spec_report.html' However, I guess it's nicer to have this be a Rake task so that it can be used by the whole development team. I was looking for an easy w

Re: [rspec-users] Canonical way to generate RSpec HTML report in Rails app

2007-07-26 Thread Don Petersen
There might be a "better" way to do it, but I basically ripped off the builtin spec:doc Rake task almost verbatim and made a custom task in my Rails app for generating the HTML report. This isn't anything magical, but you should be able to drop a file called "whatever_you_want.rake" in you

[rspec-users] Canonical way to generate RSpec HTML report in Rails app

2007-07-26 Thread Peter Marklund
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!