I replied before in this topic saying that I was doing manual testing.<div>I should state that I am now using Selenium + Ruby + RSpec.</div><div><br class="webkit-block-placeholder"></div><div>ASP 0 - Ruby 1<br><br><div class="gmail_quote">
On Thu, Feb 28, 2008 at 12:09 AM, Joseph Anthony Pasquale Holsten <<a href="mailto:joseph@josephholsten.com">joseph@josephholsten.com</a>> 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>
> On Tue, Feb 26, 2008 at 2:59 AM, aslak hellesoy<br>
> <<a href="mailto:aslak.hellesoy@gmail.com">aslak.hellesoy@gmail.com</a>> wrote:<br>
>>> I also had to go into specs on a project I'm not working on, and<br>
>>> found<br>
>>> an unholy hive of database-accessing specs. It's disheartening.<br>
>>> Basically, it's cargo cult development practices - using the "best<br>
>>> practice" without actually understanding it.<br>
>>><br>
>><br>
>> What "best practice" are you referring to?<br>
>><br>
><br>
> I'm also interested in discovering what is this "best practice".<br>
><br>
> I can't see any problem in specs running against a database, that's<br>
> exactly what integration testing is about, shouldn't we do integration<br>
> testing just because we're using BDD? I really don't think so.<br>
><br>
> The big problem about specs running against a database is not knowing<br>
> that it's integration testing and also that specs that access<br>
> databases run slower than "pure" unit tests, but you can't be sure<br>
> that your app works without a bunch of integration tests.<br>
<br>
</div>I'm reminded of one of my heros, Matthias Felleisen. If you don't<br>
know exactly what I'm talking about, go here: <<a href="http://htdp.org/" target="_blank">http://htdp.org/</a>>. 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'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't<br>
teach the method as well as him, we're screwed. Because he'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>