From: Phlip Date: 2008-09-11T07:40:25+09:00 Subject: Re: unit testing advice David Chelimsky wrote: > Forgetting about rspec or rails, my take is that generated code is > just like your own code as far as the ruby runtime is concerned, and > that *if* you are using generated code and maintaining it, that it > should be accompanied by a robust set of generated tests. > > Agree? Disagree? Rails (you know - that web framework thingey) has a plugin that generates a scaffold, with good tests, and then you play with the code to add your custom features. We were looking for a scaffold, and found this one had notes saying it was "officially" deprecated on behalf of another scaffold. That one you could not edit. It was a framework inside a framework, and you had to research and apply every tweak to every (runaway) argument to their entry points, just to change anything. We went with the "obsolete" version of the scaffold. (-: -- Phlip