tuktuk
1
I am trying to handle a rather large Rails project, that has almost no
testing at the moment.
I would like to start by adding functional tests that ensures, that all
actions return the right the “200 OK” return value.
Is there a way to autogenerate functional tests simply by using the
result of “rake routes”? Sp that I can get a skeleton to work from.
tuktuk
2
Carsten G. wrote:
I am trying to handle a rather large Rails project, that has almost no
testing at the moment.
I would like to start by adding functional tests that ensures, that all
actions return the right the “200 OK” return value.
Is there a way to autogenerate functional tests simply by using the
result of “rake routes”? Sp that I can get a skeleton to work from.
Don’t bother. Use Cucumber features. Functional tests should just die.

Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
tuktuk
3
Marnen Laibow-Koser wrote:
Is there a way to autogenerate functional tests simply by using the
result of “rake routes”? Sp that I can get a skeleton to work from.
Don’t bother. Use Cucumber features. Functional tests should just die.
Hmmm okay… Is there a way of doing ditto in Cucumber? 
tuktuk
4
Carsten G. wrote:
Marnen Laibow-Koser wrote:
Is there a way to autogenerate functional tests simply by using the
result of “rake routes”? Sp that I can get a skeleton to work from.
Don’t bother. Use Cucumber features. Functional tests should just die.
Hmmm okay… Is there a way of doing ditto in Cucumber? 
Scenario outlines?
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]