Joshua Partogi wrote:
> Hi all,
>
> Can I test my rails model with cucumber? Or is this not what cucumber
> is used for? If it is, can anyone lead me to documentation on how to
> use cuke to test Rails model please. I have read the cuke wiki rails
> section, but I still can not understand how to
IMHO Cucumber is an excellent tool to use to on top of rspec to do unit
testing.
Dear Joshua,
Doing unit tests with cucumber has not yet been approved as a best
practice,
but don't let that stop you from experimenting.
Cucumber is no substitute for rspec , it's a complement, a
way of writing
Hi Marnen,
On Oct 14, 12:55 am, Marnen Laibow-Koser
wrote:
> Joshua Partogi wrote:
> > Hi all,
>
> > Can I test my rails model with cucumber? Or is this not what cucumber
> > is used for? If it is, can anyone lead me to documentation on how to
> > use cuke to test Rails model please. I have read
Joshua Partogi wrote:
> Hi all,
>
> Can I test my rails model with cucumber? Or is this not what cucumber
> is used for? If it is, can anyone lead me to documentation on how to
> use cuke to test Rails model please. I have read the cuke wiki rails
> section, but I still can not understand how to
Cucumber is meant to be used for integration testing. You should use
one of the unit test frameworks (rspec, shoulds, test::unit) to test
your models specifically.
--Tim Riendeau
On Oct 13, 2009, at 9:02 AM, Joshua Partogi wrote:
>
> Hi all,
>
> Can I test my rails model with cucumber? Or
5 matches
Mail list logo