From: Phlip Date: 2009-03-09T02:38:19+09:00 Subject: Re: Unit tests and checking libraries john maclean wrote: > You've writen some code and it works. You now begin to think of the > future and how it might scale/grow/bloat. You think that it's a good > time to introduce Test::Unit into the mix. Use Test Driven Development. Don't write any code - to begin with - until you write a failing test. The test does not give two craps if you require this or that library. It only cares that the work got done. You can refactor - even replace the library - and the tests will still pass. All the sing-song you hear on these forums about Cucumber, BDD, shoulda, Rails integration tests, etc. - all of that works downstream from the assumption that tests are leading your development. -- Phlip