A better question would be do you have that authority to retrain them?<div>That sounds awful to&nbsp;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&#39;t.</div>
<div>When I refer to you &quot;could be the guy&quot;, I&#39;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&#39;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 &lt;<a href="mailto:gilesb@gmail.com">gilesb@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi - I&#39;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&#39;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&#39;ll write the design as specs, and then implement the<br>
entire design to match. Obviously that&#39;s not really the way it should<br>
be.<br>
<br>
I also had to go into specs on a project I&#39;m not working on, and found<br>
an unholy hive of database-accessing specs. It&#39;s disheartening.<br>
Basically, it&#39;s cargo cult development practices - using the &quot;best<br>
practice&quot; without actually understanding it.<br>
<br>
Should I tell these people to throw away their specs? Should I train<br>
them in the BDD &quot;spec first&quot; cycle? What do you do when you have specs<br>
that are not really that useful? This is mostly Rails stuff; there&#39;s a<br>
lot of controller specs that duplicate model specs instead of stubbing<br>
out the behavior. It&#39;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>