I posted a quick screencast demonstrating some BDD with RSpec yesterday: http://wincent.com/a/about/wincent/weblog/archives/2007/05/ behaviourdriven.php I''m a C/Objective-C programmer who knows a bit of Ruby, almost nothing about Rails, and in BDD I can really only claim "new but interested" status. It''s not scripted, it''s totally improvised and unplanned, so there are plenty of mistakes, sub-optimal ideas and things which I mis- said... but hopefully people will get the idea. I think most of the people who read my weblog are fellow Objective-C programmers, but I wanted people to see the kind of workflow you can achieve with RSpec, especially when combined with addons like autotest and Growl. Cheers, Wincent
Cool. Thanks for doing this. I really need to get a screen cast or two up myself. FYI - you can get the examples to stop running continuously by removing the following from your spec.opts file: --format failing_examples:previous_failures.txt --example previous_failures.txt These lines configure rspec to limit the number of files that get run when there are failures, but autotest is doing the same thing so there is no need. Cheers, David On 5/22/07, Wincent Colaiuta <win at wincent.com> wrote:> I posted a quick screencast demonstrating some BDD with RSpec yesterday: > > http://wincent.com/a/about/wincent/weblog/archives/2007/05/ > behaviourdriven.php > > I''m a C/Objective-C programmer who knows a bit of Ruby, almost > nothing about Rails, and in BDD I can really only claim "new but > interested" status. > > It''s not scripted, it''s totally improvised and unplanned, so there > are plenty of mistakes, sub-optimal ideas and things which I mis- > said... but hopefully people will get the idea. > > I think most of the people who read my weblog are fellow Objective-C > programmers, but I wanted people to see the kind of workflow you can > achieve with RSpec, especially when combined with addons like > autotest and Growl. > > Cheers, > Wincent > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Wincent: I enjoyed watching your screencast. Thank you! By the way, how did you configure autotest and growl to get the nice colored feedback? Thanks, -Anthony On May 22, 2007, at 6:43 AM, Wincent Colaiuta wrote:> I posted a quick screencast demonstrating some BDD with RSpec > yesterday: > > http://wincent.com/a/about/wincent/weblog/archives/2007/05/ > behaviourdriven.php > > I''m a C/Objective-C programmer who knows a bit of Ruby, almost > nothing about Rails, and in BDD I can really only claim "new but > interested" status. > > It''s not scripted, it''s totally improvised and unplanned, so there > are plenty of mistakes, sub-optimal ideas and things which I mis- > said... but hopefully people will get the idea. > > I think most of the people who read my weblog are fellow Objective-C > programmers, but I wanted people to see the kind of workflow you can > achieve with RSpec, especially when combined with addons like > autotest and Growl. > > Cheers, > Wincent > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
El 23/5/2007, a las 17:03, Anthony Carlos escribi?:> I enjoyed watching your screencast. Thank you! By the way, how did > you configure autotest and growl to get the nice colored feedback?I made notes on that on the wiki: <http://wincent.com/knowledge-base/Setting_up_autotest_to_use_Growl> And relatedly: <http://wincent.com/knowledge-base/Using_autotest_with_Rails> Cheers, Wincent