Live data from Hacker News

"People writing Rails apps without tests are idiots."

kurt.karmalab.org

1–10 of 19 posts

Re: "People writing Rails apps without tests are idiots."

#5
losers like this are why I quit using rails. well, that and the whole ungodly slowness thing.

rails doesn't provide any facility for testing the stuff that is actually hard to test - the frontend javascript/flash/ui layer. it makes it easy to test stuff that shouldn't need testing.

Re: "People writing Rails apps without tests are idiots."

#6

losers like this are why I quit using rails. well, that and the whole ungodly slowness thing. rails doesn't provide any facility for testing the stuff that is actually hard to test - the frontend javascript/flash/ui layer. it makes it easy to test stuff that shouldn't need testing.

losers like this are why I quit using rails.

Yeah, this blog post was definitely inflammatory . . .

well, that and the whole ungodly slowness thing.

That's pure FUD -- it's nowhere near as slow as you imply.

rails doesn't provide any facility for testing the stuff that is actually hard to test - the frontend javascript/flash/ui layer.

That's not true. Every popular testing library for Rails (stock or third-party) has view testing. I noticed you threw in Flash. Do you really expect your web application framework to test your Flash files? What would that look like?

it makes it easy to test stuff that shouldn't need testing.

Your domain modeling, controllers, and all-around application logic shouldn't need testing?

Re: "People writing Rails apps without tests are idiots."

#7

losers like this are why I quit using rails. well, that and the whole ungodly slowness thing. rails doesn't provide any facility for testing the stuff that is actually hard to test - the frontend javascript/flash/ui layer. it makes it easy to test stuff that shouldn't need testing.

Software that doesn't need testing - that doesn't exist I am afraid.

The UI is a different ball game (and as browsers evolve it will continuously change), and there are tools out there to solve it in some way or another. With the Rails tests, at least you have confidence that your backend is correct which is probably 80% of the battle.

Also, the value of automated tests in general is to give you confidence that the small change you just made didn't break something else!

Re: "People writing Rails apps without tests are idiots."

#10

losers like this are why I quit using rails. well, that and the whole ungodly slowness thing. rails doesn't provide any facility for testing the stuff that is actually hard to test - the frontend javascript/flash/ui layer. it makes it easy to test stuff that shouldn't need testing.

That's what JSUnit/AsUnit/Selenium is for...
Post reply on HN