A better question would be do you have that authority to retrain them?<div>That sounds awful to say the least.</div><div><br class="webkit-block-placeholder"></div><div>It could be worse, you could be the guy that <span class="Apple-style-span" style="font-weight: bold;">is</span> the test driven development library that manually goes in and see what breaks and what doesn't.</div>
<div>When I refer to you "could be the guy", I'm actaully stating I am that guy.</div><div><br class="webkit-block-placeholder"></div><div>I wish my company understood the concept or the need for BDD or at least TDD.</div>
<div>I'm trapped and its so painful.</div><div><br class="webkit-block-placeholder"></div><div><br><div class="gmail_quote">On Mon, Feb 25, 2008 at 9:18 PM, Giles Bowkett <<a href="mailto:gilesb@gmail.com">gilesb@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi - I've got a bunch of people using specs at a company. Everybody is<br>
writing specs, but people are not really practicing BDD. As in, the<br>
specs are there, but it doesn't go, write spec, write code, repeat. I<br>
recently came across 8 failing specs checked into svn; I think the<br>
plan was, I'll write the design as specs, and then implement the<br>
entire design to match. Obviously that's not really the way it should<br>
be.<br>
<br>
I also had to go into specs on a project I'm not working on, and 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>
Should I tell these people to throw away their specs? Should I train<br>
them in the BDD "spec first" cycle? What do you do when you have specs<br>
that are not really that useful? This is mostly Rails stuff; there's a<br>
lot of controller specs that duplicate model specs instead of stubbing<br>
out the behavior. It's driving me nuts but I have no idea what the<br>
solution is yet.<br>
<br>
--<br>
Giles Bowkett<br>
<br>
Blog: <a href="http://gilesbowkett.blogspot.com" target="_blank">http://gilesbowkett.blogspot.com</a><br>
Portfolio: <a href="http://www.gilesgoatboy.org" target="_blank">http://www.gilesgoatboy.org</a><br>
Tumblelog: <a href="http://giles.tumblr.com" target="_blank">http://giles.tumblr.com</a><br>
Podcast: <a href="http://hollywoodgrit.blogspot.com" target="_blank">http://hollywoodgrit.blogspot.com</a><br>
_______________________________________________<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>
</blockquote></div><br></div>