<div>My workflow is the following:</div>Stories->Spec Views->Spec Controllers-Spec Models<br><br><div>I'll write a few stories of what I think should it happen.</div><div>Then I'll write my specs of what should show (and also do some static html page mockups)</div>
<div>Then I'll spec my controllers and models</div><div>I'll go back to my stories to see if they need adjusting because my perceptive of how the app changed</div><div>Then I run my stories and make them pass.</div>
<div><br class="webkit-block-placeholder"></div><div>Then I write a few stories and repeat.</div><div><br class="webkit-block-placeholder"></div><div>I constantly step move back and forth.</div><div>I think Stories and BDD greatly assists you to shape your idea.</div>
<div>Write stories for what you can think of and then move on to specing.</div><div>You don't need complete stories you can also go back and fill them in later.</div><div><br><div class="gmail_quote">On Feb 18, 2008 2:57 AM, Victor Asteinza <<a href="mailto:vic@civrot.org">vic@civrot.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am new to BDD and have been doing some reading and playing with<br>rSpec. I am a little confused. I am not sure what the best practice<br>
for using stories and specs. Should I be writing stories first, then<br>specs that would fulfill those stories, and then write the<br>implementation code to have everything pass? At first that seems a<br>little redundant.<br>
<br>I understand that the stories let you write the behavior in plane<br>English, which I can see it being useful when dealing with non<br>technical users. But if I am developing an internal app I am<br>struggling with whether I should develop the stories first and then<br>
move on to the specs.<br><br>Opinions? Experiences?<br><br>Thanks,<br>Victor<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>