Re: [rspec-users] Display Rspec output in an html file

2010-01-20 Thread Amit Kulkarni
Thanks a lot David. I generated a the output to xls with the command "spec user_spec.rb --format progress:a.xls" Under the xls it is displaying only those examples which are failing like for e.g. 1) 'User User should not be created if email format is different' FAILED expected: "Please check the

Re: [rspec-users] Display Rspec output in an html file

2010-01-20 Thread David Chelimsky
On Wed, Jan 20, 2010 at 5:03 AM, Amit Kulkarni wrote: > Amit Kulkarni wrote: >> Ok.Thanks a lot David > > Hello, > Is there any way to display rspec result in .csv or .xls format. You can write a custom formatter and invoke it with: spec spec --require my_formatter.rb --formatter MyFormatter

Re: [rspec-users] Display Rspec output in an html file

2010-01-20 Thread Amit Kulkarni
Amit Kulkarni wrote: > Ok.Thanks a lot David Hello, Is there any way to display rspec result in .csv or .xls format. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/r

Re: [rspec-users] Display Rspec output in an html file

2009-12-24 Thread Amit Kulkarni
Ok.Thanks a lot David -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Display Rspec output in an html file

2009-11-27 Thread David Chelimsky
On Fri, Nov 27, 2009 at 3:21 AM, Amit Kulkarni wrote: > Amit Kulkarni wrote: > > Any suggestions on the above topic > > Hello, > I want to print my output in an html file. > I am using command rake spec:controllers --format html:result.html from > the root directory > But it is not working. > Ple

Re: [rspec-users] Display Rspec output in an html file

2009-11-27 Thread Amit Kulkarni
Amit Kulkarni wrote: > Any suggestions on the above topic Hello, I want to print my output in an html file. I am using command rake spec:controllers --format html:result.html from the root directory But it is not working. Please suggest -- Posted via http://www.ruby-forum.com/. _

Re: [rspec-users] Display Rspec output in an html file

2009-11-11 Thread Amit Kulkarni
Any suggestions on the above topic -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Display Rspec output in an html file

2009-11-10 Thread Amit Kulkarni
I checked the whole code but there is no error as such. What i have done is i added a line i.e. t.spec_opts = ['--format' , 'html:result.html' ] under /lib/tasks/rspec.rake i.e. [:models, :controllers, :views, :helpers, :lib, :integration].each do |sub| desc "Run the code examples in spec/#{s

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Matt Wynne
On 10 Nov 2009, at 06:46, Amit Kulkarni wrote: Yes i get an error message as rake aborted. spec/models/survey_spec.rb" --format html:result.html failed Have you looked in the survey_spec.rb file to see if there's a problem then? Does the 'error message' give you a line number to look at?

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Amit Kulkarni
Yes i get an error message as rake aborted. spec/models/survey_spec.rb" --format html:result.html failed -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Matt Wynne
On 9 Nov 2009, at 11:13, Amit Kulkarni wrote: Hello, I had written some model scenarios. Now i want to generate that output in an html file. i am executing the models using rake i.e. rake spec:models from spec directory. But the html file is not getting generated. Following is the error trace:

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Amit Kulkarni
My spec.opts file contains --colour --format html:spec/a.html --loadby mtime --reverse -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users