More on rerun and --drb

7 views
Skip to first unread message

Erik Hansson

unread,
Oct 12, 2009, 7:35:14 PM10/12/09
to Cukes
Hey,

I've been digging around trying to get get the autospec rerun behavior
for features running with Spork. I've been looking around and not
found any real solutions to this issue. Anyway, I got this running
locally. (At least better. I think. ;)) However, I can't get anywhere
with the Cucumber specs (I'm currently running only ruby 1.9.1), and
I'm not really all that familiar with the project.

As far as I can tell, it's two separate issues. The output file never
gets flushed, and the broadcast methods in the rerun formatter are
never called... I've got a commit with the hacks up at [1], in case
anyone else is interested.

-- erik


[1] http://github.com/erikhansson/cucumber/commit/7fad42d605511924257baa05dad4182063e0a46b

aslak hellesoy

unread,
Oct 12, 2009, 7:43:23 PM10/12/09
to cu...@googlegroups.com
On Tue, Oct 13, 2009 at 1:35 AM, Erik Hansson <mell...@gmail.com> wrote:
>
> Hey,
>
> I've been digging around trying to get get the autospec rerun behavior
> for features running with Spork. I've been looking around and not
> found any real solutions to this issue. Anyway, I got this running
> locally. (At least better. I think. ;)) However, I can't get anywhere
> with the Cucumber specs (I'm currently running only ruby 1.9.1), and

rake cucumber should pass all green, but rake spec won't because rspec
doesn't run on 1.9.1 yet.

> I'm not really all that familiar with the project.
>
> As far as I can tell, it's two separate issues. The output file never
> gets flushed, and the broadcast methods in the rerun formatter are
> never called... I've got a commit with the hacks up at [1], in case
> anyone else is interested.
>

I can pull it in. Of course, I have no way to verify that this works,
or that stuff doesn't work without this fix...
But that's ok - the autotest support is moving to a different project
soon anyway so that's for someone else to worry about :-P

Aslak

Erik Hansson

unread,
Oct 12, 2009, 7:49:38 PM10/12/09
to Cukes
"Uh oh". :P

It doesn't break any of the existing features. At least not on my
1.9.1 install.

-- erik


On Oct 13, 1:43 am, aslak hellesoy <aslak.helle...@gmail.com> wrote:
> > [1]http://github.com/erikhansson/cucumber/commit/7fad42d605511924257baa0...
>
>
Reply all
Reply to author
Forward
0 new messages