Just A Summary : Getting the Rspec religion http://www.bofh.org.uk/articles/2006/11/26/getting-the-rspec-religion.rss en-us 40 Piers Cawley Practices Punditry Comment on Getting the Rspec religion by Daniel Berger <p>I&#8217;m just not sold on that style of testing. The statements may be more english-like, but what it gains in verbs it loses in verbosity.</p> <p>Looking at your two examples, I prefer the Test::Unit approach. :)</p> Wed, 06 Dec 2006 14:17:08 -0600 urn:uuid:6da0dbb0-5cc8-4747-bddc-9b435d7d6710 http://www.bofh.org.uk/articles/2006/11/26/getting-the-rspec-religion#comment-64 Comment on Getting the Rspec religion by Piers Cawley <p>Personally, I think verbosity, nay prolixity to be a virtue. Especially in the case of tests.</p> <p>As I&#8217;ve been porting Typo&#8217;s unit tests to specs, I&#8217;ve certainly been finding that the</p> <div class="typocode"><pre><code class="typocode_default ">context &quot;Given whatever&quot; do setup {...} specify &quot;something should be true&quot; {...} end</code></pre></div> <p>rhythm of working gets me thinking along helpful lines. Also, I&#8217;ve found myself splitting single tests into a context and a set of specifications, and those cases are <strong>definitely</strong> more readable.</p> Thu, 07 Dec 2006 01:37:27 -0600 urn:uuid:0cd6a5e3-3ef0-4203-a78a-d774bf1bfaa8 http://www.bofh.org.uk/articles/2006/11/26/getting-the-rspec-religion#comment-65 Comment on Getting the Rspec religion by David Chelimsky <p>It&#8217;s great to hear that you&#8217;re getting some mileage (or kilometer-age???) out of rspec! Sorry to hear that you feel forced to convert your entire suite, though I&#8217;m sure it&#8217;s a great exercise and look forward to reading more about your observations.</p> <p>The problem you describe (of only being able to run one or the other) has gone away w/ the current version of rspec_on_rails. If you don&#8217;t want to upgrade right now, just clean out the init.rb file. The stuff it requires should get required by your spec_helper.rb instead (probably already does). That way rspec only gets loaded when you&#8217;re running specs. When you&#8217;re running tests it doesn&#8217;t, so no conflict.</p> <p>Cheers, David</p> Fri, 22 Dec 2006 16:18:21 -0600 urn:uuid:9d6ea0c0-2018-4d8e-8e42-bfd556a40eb8 http://www.bofh.org.uk/articles/2006/11/26/getting-the-rspec-religion#comment-67