very cool! I just fired up autotest for the first time in about 2 years. That is quite a program. I like how it is running diffs on the files I'm editing, so it only runs the tests that are affected.
Looks like my workflow is going to change a little bit, but this gets me 95% of what I was lookng for, and it is a LOT less key strokes. (Not that I mind keystrokes, being an Emacs guy, but... :) matt On 9/19/07, Matt Aimonetti <[EMAIL PROTECTED]> wrote: > 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 > > _______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
