Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Pat Maddox
On Mon, Feb 25, 2008 at 6:18 PM, Giles Bowkett <[EMAIL PROTECTED]> wrote: > Hi - I've got a bunch of people using specs at a company. Everybody is > writing specs, but people are not really practicing BDD. As in, the > specs are there, but it doesn't go, write spec, write code, repeat. I > recen

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread David Chelimsky
On Thu, Feb 28, 2008 at 12:49 AM, Korny Sietsma <[EMAIL PROTECTED]> wrote: > Totally agree with this - I'm happy to work with specs that just define a > single bit of the system's behaviour (i.e. "unit tests") and specs that > define behaviour across several different parts of the system (i.e. > "i

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Korny Sietsma
Totally agree with this - I'm happy to work with specs that just define a single bit of the system's behaviour (i.e. "unit tests") and specs that define behaviour across several different parts of the system (i.e. "integration tests") - but it drives me mad when they are all mixed in together, rath

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Pat Maddox
On Wed, Feb 27, 2008 at 9:09 PM, Joseph Anthony Pasquale Holsten <[EMAIL PROTECTED]> wrote: > If you can ever stop in at Northeastern University in Boston, drop in > on a class. Especially the freshman intro to programming. If we can't > teach the method as well as him, we're screwed. Because he

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Andrew WC Brown
I replied before in this topic saying that I was doing manual testing.I should state that I am now using Selenium + Ruby + RSpec. ASP 0 - Ruby 1 On Thu, Feb 28, 2008 at 12:09 AM, Joseph Anthony Pasquale Holsten < [EMAIL PROTECTED]> wrote: > > On 02008:02:27, at 10:01CST, Maurício Linhares wrote

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Joseph Anthony Pasquale Holsten
On 02008:02:27, at 10:01CST, Maurício Linhares wrote: > On Tue, Feb 26, 2008 at 2:59 AM, aslak hellesoy > <[EMAIL PROTECTED]> wrote: >>> I also had to go into specs on a project I'm not working on, and >>> found >>> an unholy hive of database-accessing specs. It's disheartening. >>> Basicall

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Maurício Linhares
On Tue, Feb 26, 2008 at 2:59 AM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > > I also had to go into specs on a project I'm not working on, and found > > an unholy hive of database-accessing specs. It's disheartening. > > Basically, it's cargo cult development practices - using the "best > >

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Kero
> > I also had to go into specs on a project I'm not working on, and found > > an unholy hive of database-accessing specs. It's disheartening. > > Basically, it's cargo cult development practices - using the "best > > practice" without actually understanding it. > > This is a really tough prob

Re: [rspec-users] the git experiment

2008-02-27 Thread David Chelimsky
On Wed, Feb 27, 2008 at 12:00 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > Hey all, > > A while back I mentioned that we were going to move to git or hg. We > decided that we'd experiment with each for a month and see how it > goes. > > We're going to start with git. Obviously if all goes w

[rspec-users] Passing options into Story Runner (like --format)

2008-02-27 Thread Matt Patterson
Hey, I've been trying to hook in the HTML formatter for story output, with zero success - passing the --format option to me stories/all.rb script was doing nothing. So, I slapped in some puts statements and figured out that ARGV was getting cleared before Spec::Story::Runner.run_options wa

[rspec-users] Problem with Plain Text Story Runner

2008-02-27 Thread Greg Gigon
Hi Guys I'm new to Ruby and BDD. I'm having a problem while running my story in plain text. This is the console OUTPUT. /var/lib/gems/1.8/gems/rspec-1.1.3/lib/spec/story/runner/story_mediator.rb:51:in `current_scenario': undefined method `current_scenario' for nil:NilClass (NoMethodError) f

Re: [rspec-users] has_many_polymorphs is breaking my testing

2008-02-27 Thread Max Williams
Never mind, i'm an idiot, the problem was that i broke my Property class with the has_many_polymorphs declaration, so the spec couldn't load it. Sorry! On 27/02/2008, Max Williams <[EMAIL PROTECTED]> wrote: > > I have a class Property that was testing fine until i added the following > to it: > >

[rspec-users] has_many_polymorphs is breaking my testing

2008-02-27 Thread Max Williams
I have a class Property that was testing fine until i added the following to it: has_many_polymorphs :labelled, :from => [:instructional_objects, :lessons, :courses], :through => :labels, :dependent => :destroy (in other words, 'labels' is a join table through which various objects

Re: [rspec-users] OT local version control?

2008-02-27 Thread Corey Haines
Joe Fiorino, the faithful geek, recorded a conversation we had last Saturday about DSCM and my early experiences with it for his podcast. If anyone is inclined to listen and comment on anything I said, I'd appreciate it. I'm especially interested in any possible fallacious understandings of DSCM, s

Re: [rspec-users] how to set up data before story runner steps?

2008-02-27 Thread Thomas Marek
Bei schrieb: > Hi > > I'm using story runner of RSpec now. What I'm trying to do is > initializing the @selenium before any steps of one story is executing, > and stop @selenium after any story is finished. just as @BeforeClass > and @AfterClass in jUnit > Any suggestions on this? > >