Re: [rspec-users] A recently observed anti pattern: commented out tests

2012-07-26 Thread James Cox
Chris, On Tue, Jul 24, 2012 at 4:54 PM, Chris Flipse wrote: > > > On Tue, Jul 24, 2012 at 1:55 PM, James Cox wrote: > >> so yes, pending is ok, but a second keyword "broken" might be nicer, >> which would act the same but output different info.-- >> &

Re: [rspec-users] A recently observed anti pattern: commented out tests

2012-07-26 Thread James Cox
> > > so yes, pending is ok, but a second keyword "broken" might be nicer, > > which would act the same but output different info. > > You can actually do that! > > RSpec.configuration do |c| > c.alias_example_to :broken, :pending => "Broken" > end > > See > http://rubydoc.info/gems/rspec-core/RS

Re: [rspec-users] A recently observed anti pattern: commented out tests

2012-07-24 Thread James Cox
ignificant portion of his time teaching (T/B)DD I am totally in love with > pending specs. There are analogous concepts in nearly every xUnit/xSpec, but > pending is by far the best. Kudos. > > On Jul 23, 2012 9:57 PM, "David Chelimsky" wrote: >> >> On Mon, Jul

[rspec-users] A recently observed anti pattern: commented out tests

2012-07-23 Thread James Cox
Hey, in a bunch of the rescues i've recently done, I see a pretty big anti pattern: tests don't work, and so rather than making them work, the dev team just comments them out till 'later'. Does anyone think it'd be useful/interesting to get a flag for rspec which would compare lines vs lines-comm

[rspec-users] rspec and Lion?

2011-07-25 Thread James Cox
Hey, Has anyone used rspec and lion much yet? I'm using the Fuubar instafail formatter, and finding that the entire output of the spec run is buffered till the script execution stops, at which point it's displayed. Not sure why - it may be a failure/feature of the new Terminal.app ? Wondered if

[rspec-users] Rspec not loading .rspec file

2010-11-17 Thread James Cox
Hey, For some reason i can't seem to make rake spec or bin/rspec load the contents of the current working directory's .rspec, nor my ~/.rspec. Is there some kind of incantation required to make this work? Thanks, James -- James Cox, Consultant, Raconteur, Photographer, Entrepreneur

Re: [rspec-users] Prepare for newbie-ness

2008-09-17 Thread James Cox
Oh and to answer your question Martin - it's a fairly common step for both. Your absolute best bet is going to peepcode.com and watching all the vids on speccing. it should give you more than enough starting information about approach. BTW - do any 'proper' tdd/bdd types here reccommend any

Re: [rspec-users] Prepare for newbie-ness

2008-09-17 Thread James Cox
On 16 Sep 2008, at 20:05, David Chelimsky wrote: On Tue, Sep 16, 2008 at 1:59 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: On Tue, Sep 16, 2008 at 10:00 AM, Martin Streicher <[EMAIL PROTECTED]> wrote: 3/ Has any documented how to run the debugger via rspec to help track down errors? We TD

Re: [rspec-users] plain text stories: motivation number 27

2007-10-17 Thread James Cox
On 17 Oct 2007, at 15:41, David Chelimsky wrote: > This is mostly theoretical, but ... > > I'm starting to use lighthouse (http://llighthouseapp.com) for my > projects at work. I'm organizing iterations as milestones and stories > as tickets tagged to a milestone. > > Lighthouse offers an API so