From: Peter Szinek Date: 2008-11-18T19:50:41+09:00 Subject: Re: I don't like specs, should I change my point of view ? --Apple-Mail-1--409648862 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 2008.11.18., at 10:56, Zouplaz wrote: > Hello, I'm not trolling. I don't like specs (RSpec) : everytime I > had a look to specs I felt it was only syntaxic sugar driven by a > big machinery and I continued to write classic unit tests. > > But I've seen more and more projects using rspec - So I consider > beeing wrong about this software. > > Do you have any link to articles that advocates for or against > specs ? Or do you have any argument in favor of specs compared with > plain old test suites ? Not really... but you could check out shoulda (http://www.thoughtbot.com/projects/shoulda/ ) - it's closer to Test::Unit (basically a set of macros on top of Test::Unit), but server a similar purpose as rSpec. You have to solve the mock question (if you want to use mocks at all) - I'd recommend to check out Mocha. Cheers, Peter ___ http://www.rubyrailways.com http://scrubyt.org --Apple-Mail-1--409648862--