Good explanation Phillip. It gives a clear idea...
Thanks
Regards,
Diwakar
Others can explain it better than me (and have), but in a nutshell:
- use Cucumber for full stack (as the user would see it) testing. Some
call it User Acceptance Testing (UAT)
- use RSpec for unit/functional testing
hey there
there's also http://bddcasts.com with railscasts like bdd screencasts
haven't check it much myself, but might deserve a look
hth,
joaquin
2010/1/14 Ashley Moran
>
> On Jan 14, 2010, at 1:17 pm, John Polling wrote:
>
> > I think this is the part that I'm confusing myself with as most
On Jan 14, 2010, at 1:17 pm, John Polling wrote:
> I think this is the part that I'm confusing myself with as most Cucumber
> information talks about using scenarios to drive the code out. So
> Cucumber comes first, whereas I used to do the Acceptance testing after
> all the other TDD stuff.
On Jan 14, 2010, at 12:15 pm, David Chelimsky wrote:
> re: Integration testing, everybody has a different definition. Before Rails
> came along, the prevalent definition that I was aware of was "testing the
> behaviour of two non-trivial components together."
>
> More recently, the definition
John Polling wrote:
Already reading that one thanks :-) It is a good book and it's helping
me get my head around it all. It's just a case of understanding when to
develop using Cucumber and when to user RSpec on it's own. I think this
will come with experience.
John
Others can explain it
On Thu, Jan 14, 2010 at 9:26 AM, Joaquin Rivera Padron
wrote:
> hi
>
> 2010/1/14 John Polling
>
> Phillip Koebbe wrote:
>>
>> > Hi John. Maybe this will help:
>> >
>> > http://www.pragprog.com/titles/achbd/the-rspec-book
>> >
>> > It's a good book. But when you get to the part about Webrat and
>>
hi
2010/1/14 John Polling
> Phillip Koebbe wrote:
>
> > Hi John. Maybe this will help:
> >
> > http://www.pragprog.com/titles/achbd/the-rspec-book
> >
> > It's a good book. But when you get to the part about Webrat and
> > Selenium, just know that there are other options if you need them.
>
> Al
Phillip Koebbe wrote:
> Hi John. Maybe this will help:
>
> http://www.pragprog.com/titles/achbd/the-rspec-book
>
> It's a good book. But when you get to the part about Webrat and
> Selenium, just know that there are other options if you need them.
Already reading that one thanks :-) It is a go
On Jan 14, 2010, at 8:46 AM, Phillip Koebbe wrote:
John Polling wrote:
Generally what I do is drive all my individual classes out using
NUnit
and Rhino.Mocks and then do the acceptance testing later with
FitNesse.
I think this is the part that I'm confusing myself with as most
Cucumber
John Polling wrote:
Generally what I do is drive all my individual classes out using NUnit
and Rhino.Mocks and then do the acceptance testing later with FitNesse.
I think this is the part that I'm confusing myself with as most Cucumber
information talks about using scenarios to drive the code
David Chelimsky wrote:
> Did you do all of your testing in NUnit?
>
> When I was working on .NET apps, I used FitNesse for acceptance testing
> and
> NUnit for isolation testing. With Rails, these same roles are played by
> Cucumber and RSpec.
>
Generally what I do is drive all my individual cl
On 14 Jan 2010, at 12:33, John Polling wrote:
> Do Rails developers generally not test things in isolation using mocking
> and stubbing?
Yes, that's what RSpec is for.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/l
On Thu, Jan 14, 2010 at 6:33 AM, John Polling wrote:
> Thanks for this David.
>
> I suppose the thing I am so used to is testing classes in isolation
> whereas Cucumber is about testing everything together.
>
Did you do all of your testing in NUnit?
When I was working on .NET apps, I used FitNe
Thanks for this David.
I suppose the thing I am so used to is testing classes in isolation
whereas Cucumber is about testing everything together.
Do Rails developers generally not test things in isolation using mocking
and stubbing?
John
--
Posted via http://www.ruby-forum.com/.
_
On Thu, Jan 14, 2010 at 5:46 AM, John Polling wrote:
> Hi,
>
> I've been a .Net developer for a number of years now and I'm a big fan
> of TDD / BDD. I have been following these principles for a couple of
> years and use tools such as NUnit for testing purposes.
>
> I am now looking at moving ac
Hi,
I've been a .Net developer for a number of years now and I'm a big fan
of TDD / BDD. I have been following these principles for a couple of
years and use tools such as NUnit for testing purposes.
I am now looking at moving across to using RoR for a number of projects
and I'm still getting my
16 matches
Mail list logo