This project is archived and is in readonly mode.
generated tests should flunk when unimplemented
-
Jeremy Kemper
- State changed from new to wontfix
- Importance changed from to Low
Thanks Matt! We've gone back one forth on fail-by-default and we keep coming back to keeping the new-user experience clean and understandable. A failing boolean is confusingly irrelevant.
-
eightbitraptor
Thanks for the feedback. I guess that makes sense however I would argue that a misleading pass would be more harmful than a more verbose rake output. It could give a false sense of confidence that generated code is already tested for example.
Anyway. I'm assuming this has already been argued to death so i'll let this one die.
Matt.
-
Andrew White
Why not use pending as a middle way?
require 'test_helper' class PagesControllerTest < ActionController::TestCase test "pages controller" do pending "Replace this with your real tests" end endThat way you don't get a backtrace and error message if you're lazy, just a single line acting as a reminder.
