Hi I am using rcov to generate code coverage. But I don't know how to
write cases for that...
I have installed rcov gem and and execute rcov test/*.rb command. It
shows me some code coverage in files.
Can anyone help me by giving example that how to write test cases and
where to write...
Thank
On Feb 6, 2009, at 10:21 AM, Scott Taylor wrote:
On Feb 6, 2009, at 12:50 PM, Stephen Eley wrote:
On Fri, Feb 6, 2009 at 12:17 PM, Fernando Perez forum.com> wrote:
The next big step will be specing controllers, as it is more painful
than models, but now that my controllers are ripped I guess
Zach Dennis wrote:
>
> Correction -- I believe his problem forces the problem in my ticket to
> be solved. I don't know if my patch solves his problem.
>
Zach - Thanks for the quick patch
I grabbed your code, but it did not solve the problem. Here is what I am
seeing.
When fully_qualify_curr
Yay! Thanks for this. I kept saying "I'll get around to this...
tomorrow!" And well... :-)
--
Nick
On Thu, Feb 5, 2009 at 6:43 PM, Matt Wynne wrote:
> Inspired by Nick Evans' RSpec progress bar[1], I had a little crack at
> implementing the progress bar for cucumber, 'cause I want to know ho
On Fri, Feb 6, 2009 at 10:20 AM, Zach Dennis wrote:
> Perhaps Bryan or Josh could look at these. In the meantime I have
> pushed an updated branch which includes all of webrat 4.1. Hopefully
> in the meantime this will solve the issue for you:
>
> http://github.com/zdennis/webrat/tree/make_curr
On Feb 6, 2009, at 12:50 PM, Stephen Eley wrote:
On Fri, Feb 6, 2009 at 12:17 PM, Fernando Perez forum.com> wrote:
The next big step will be specing controllers, as it is more painful
than models, but now that my controllers are ripped I guess it will
be
easier.
I've stopped. Mostly beca
hey fernando,
maybe you want to take a look at
http://www.patmaddox.com/blog/2009/1/15/how-i-test-controllers-2009-remix
and give Cucumber a try regarding controllers spec-ing
hth,
joaquin
___
rspec-users mailing list
rspec-users@rubyforge.org
http://ruby
On Fri, Feb 6, 2009 at 12:17 PM, Fernando Perez wrote:
>
> The next big step will be specing controllers, as it is more painful
> than models, but now that my controllers are ripped I guess it will be
> easier.
I've stopped. Mostly because of the question Jay asks in that
article: "Why are you t
Hello,
I have a controller action that raises a RecordNotFound exception if
you're not allowed to see something. In my global application
controller (application.rb), I catch these and render the 404
template. But when I run cucumber (using webrat), it's getting the
full stacktrace (the step blows
On Fri, Feb 6, 2009 at 9:12 AM, Tom Hoen wrote:
> Zach Dennis wrote:
>
>>
>> Were you using one of my branches, and was it working for you?
>>
>> I just pulled down the latest webrat and installed it on a project
>> that uses subdomains, and all of the features are still passing.
>
> Zach -
>
> I
Pat Maddox wrote:
> On Thu, Feb 5, 2009 at 8:17 AM, Ben Mabey wrote:
>> Any thoughts? Are Ruby's Object Mothers really Test Data Builders?
>
> Here's what I think is important:
>
> * Make fixture setup explicit by inlining it on a per example/group
> basis
> * Keep fixture setup short by hidin
On Fri, Feb 6, 2009 at 10:43 AM, David Chelimsky wrote:
> On Fri, Feb 6, 2009 at 9:41 AM, Yi Wen wrote:
>> Hi,
>>
>> I saw a message on Nov, 2008 in this mailing list from David:
>>
>> "I'm not sure how to fix that problem, but before you go much further
>> you should know that RSpec does not yet
On Fri, Feb 6, 2009 at 9:41 AM, Yi Wen wrote:
> Hi,
>
> I saw a message on Nov, 2008 in this mailing list from David:
>
> "I'm not sure how to fix that problem, but before you go much further
> you should know that RSpec does not yet run under 1.9. It's something
> I want to raise in priority soon
On Fri, Feb 6, 2009 at 10:20 AM, Zach Dennis wrote:
> On Fri, Feb 6, 2009 at 9:12 AM, Tom Hoen wrote:
>> Zach Dennis wrote:
>>
>>>
>>> Were you using one of my branches, and was it working for you?
>>>
>>> I just pulled down the latest webrat and installed it on a project
>>> that uses subdomains
Hi,
I saw a message on Nov, 2008 in this mailing list from David:
"I'm not sure how to fix that problem, but before you go much further
you should know that RSpec does not yet run under 1.9. It's something
I want to raise in priority soon, and patches are welcome, but that's
the state of things t
Zach Dennis wrote:
>
> Were you using one of my branches, and was it working for you?
>
> I just pulled down the latest webrat and installed it on a project
> that uses subdomains, and all of the features are still passing.
Zach -
I was using this fork:
http://github.com/zdennis/webrat/tree/m
Juanma Cervera wrote:
Hello
I have seen that some people in this list is using Fixjour as the
replacement of fixtures.
But I can't understand why it is superior or better than other
approaches to the subject like Machinist o FactoryGirl.
What are the problems this library resolve?
Can somebody e
I'm sorry for the question.
I have just seen that this question is already treated in a very near
thread.
I didn't see it.
Juanma
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/ma
Hello
I have seen that some people in this list is using Fixjour as the
replacement of fixtures.
But I can't understand why it is superior or better than other
approaches to the subject like Machinist o FactoryGirl.
What are the problems this library resolve?
Can somebody explain this a little.
T
19 matches
Mail list logo