I replied before in this topic saying that I was doing manual testing.<div>I should state that I am now using&nbsp;Selenium&nbsp;+ Ruby + RSpec.</div><div><br class="webkit-block-placeholder"></div><div>ASP 0 &nbsp;- Ruby 1<br><br><div class="gmail_quote">
On Thu, Feb 28, 2008 at 12:09 AM, Joseph Anthony Pasquale Holsten &lt;<a href="mailto:joseph@josephholsten.com">joseph@josephholsten.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d"><br>
On 02008:02:27, at 10:01CST, Maurício Linhares wrote:<br>
<br>
&gt; On Tue, Feb 26, 2008 at 2:59 AM, aslak hellesoy<br>
&gt; &lt;<a href="mailto:aslak.hellesoy@gmail.com">aslak.hellesoy@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &nbsp;I also had to go into specs on a project I&#39;m not working on, and<br>
&gt;&gt;&gt; found<br>
&gt;&gt;&gt; &nbsp;an unholy hive of database-accessing specs. It&#39;s disheartening.<br>
&gt;&gt;&gt; &nbsp;Basically, it&#39;s cargo cult development practices - using the &quot;best<br>
&gt;&gt;&gt; &nbsp;practice&quot; without actually understanding it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &nbsp;What &quot;best practice&quot; are you referring to?<br>
&gt;&gt;<br>
&gt;<br>
&gt; I&#39;m also interested in discovering what is this &quot;best practice&quot;.<br>
&gt;<br>
&gt; I can&#39;t see any problem in specs running against a database, that&#39;s<br>
&gt; exactly what integration testing is about, shouldn&#39;t we do integration<br>
&gt; testing just because we&#39;re using BDD? I really don&#39;t think so.<br>
&gt;<br>
&gt; The big problem about specs running against a database is not knowing<br>
&gt; that it&#39;s integration testing and also that specs that access<br>
&gt; databases run slower than &quot;pure&quot; unit tests, but you can&#39;t be sure<br>
&gt; that your app works without a bunch of integration tests.<br>
<br>
</div>I&#39;m reminded of one of my heros, Matthias Felleisen. If you don&#39;t<br>
know exactly what I&#39;m talking about, go here: &lt;<a href="http://htdp.org/" target="_blank">http://htdp.org/</a>&gt;. His<br>
mission in life is to teach the pattern to design programs. His<br>
approach draws more from the Design by Contract paradigm than TDD,<br>
but it&#39;s the same goal.<br>
<br>
If you can ever stop in at Northeastern University in Boston, drop in<br>
on a class. Especially the freshman intro to programming. If we can&#39;t<br>
teach the method as well as him, we&#39;re screwed. Because he&#39;s been<br>
working on it for twenty years.<br>
<br>
Of course, my hope is that <a href="http://hackety.org" target="_blank">hackety.org</a> + bdd = hdtp++. I can dream, no?<br>
<br>
http:// Joseph Holsten .com<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
rspec-users mailing list<br>
<a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>
</div></div></blockquote></div><br></div>