Hey Matt, I've been using RSpec for real development for ~9 months now.
The whole concept of integration testing is to test your whole application all the time. Your new code might break something else somewhere else. I strongly recommend using ZenTest Autotest and cruisecontrol.rb If you really want to only run one spec file, you can use the rspec rake task otherwise the Textmate bundle would let you run one file or one specific example. My workflow: write an example => get a warning because it fails => write the code to make the example pass => get a warning because all examples now pass => refactor => (hope not to see warning) => start over from the beginning -Matt -- http://railsontherun.com On 9/19/07, matthew clark <[EMAIL PROTECTED]> wrote: > > Anyone using Rspec for real development? I'm scratching my head a bit > on how to make it useful in a traditional TDD workflow. > > I develop with this workflow, over and over, and over and over- > > Write a test -> see it fail -> write the code to make it pass -> see > test pass -> refactor > > I don't see an easy way to run an individual spec file, let alone an > individual spec, so the above workflow is not possible. > > How do you do it? > > matt > _______________________________________________ > Sdruby mailing list > [email protected] > http://lists.sdruby.com/mailman/listinfo/sdruby >
_______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
