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
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
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
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
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
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/.
_
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
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
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?
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
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:
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
12 matches
Mail list logo