[rspec-devel] Edge rspec - running Test::Unit tests

David Chelimsky dchelimsky at gmail.com
Mon Nov 19 04:26:44 EST 2007


On Nov 19, 2007 12:24 AM, Pascal <psq at nanorails.com> wrote:
>
>
> On Nov 18, 2007, at 3:37 PM, David Chelimsky wrote:
>
> > On Nov 18, 2007 5:31 PM, Pascal <psq at nanorails.com> wrote:
> >>
> >> On Nov 18, 2007, at 2:52 AM, David Chelimsky wrote:
> >>
> >>> On Nov 18, 2007 4:47 AM, Pascal <psq at nanorails.com> wrote:
> >>>>
> >>>> Posted by David Chelimsky (Guest)
> >>>> on 14.10.2007 15:54
> >>>> On 10/12/07, Alvin Schur <a.schur at nucleus.com> wrote:
> >>>>>
> >>>>> Finished in 4.5e-05 seconds
> >>>>>
> >>>>> 0 examples, 0 failures
> >>>>>
> >>>>>
> >>>>> How can I get Test::Unit and rspec to happily co-exist again?
> >>>>
> >>>> This is due to a refactoring that we're doing. We thought it was
> >>>> almost done so we moved it to trunk. We were wrong.
> >>>>
> >>>> This issue is on the radar and will be addressed before the next
> >>>> release.
> >>>> I'd be happy to help on this.  Anyone can provide any thoughts on
> >>>> how you
> >>>> envision implementing it?
> >>>
> >>> This particular problem has been addressed and we're pretty close
> >>> to a
> >>> release at this point. We've (mostly Aslak) started to add stories
> >>> for
> >>> T::U integration and this particular problem is already fixed. Feel
> >>> free to peek at the trunk and see how the stories are working and if
> >>> you have any ideas to add or enhance them.
> >>
> >> Thanks!
> >>
> >> I'm still experiencing some issues running trunk (2910) wit rails 2.0
> >> (8166), it works when I run an individual test (it runs tests and
> >> specs, and report on each one), but not when running rake test:units.
> >
> > rake test:units is not supported by rspec
> >
> > You want to use this instead:
> >
> > rake spec:models
> I realize that's what I would need to run the specs on the models,
> which would run things under spec/models.  But what about existing
> test cases under test/...
>
> So are you saying that once you install RSpec (as a plugin), you
> should no longer expect to run your existing test cases?

No - not at all. I misunderstood your situation.

>  (This
> appeared to work fine up to 1.0.8 and rewriting 100s of tests will
> take a while, so that's definitely something I'm interested in
> pursuing).

Naturally!

> Is this something you are fundamentally opposed to, or would you be
> interested in a patch (assuming I can get this to work)?

A patch would be great. We've moved the tracker (which is why your
mailbox has 250 some-odd messages from the rubyforge tracker), so
tickets go to http://rspec.lighthouseapp.com/.

Cheers,
David

>
>
> Cheers,
> Pascal
> --
> http://blog.nanorails.com
>
> >
> >
> >> It runs the specs and reports on them, then I get a "rake aborted".
> >> I'll investigate later today what the failure is (no useful message
> >> displayed).  The problem could be on my side.
> >>
> >> What's the class running the test cases?  Somewhere in the Runner?
> >>
> >>
> >> Cheers,
> >> Pascal.
> >> --
> >> http://blog.nanorails.com
> >>
> >>>
> >>>
> >>> Cheers,
> >>> David
> >>>
> >>>>
> >>>> Cheers,
> >>>> Pascal.
> >>>> --
> >>>> http://blog.nanorails.com
> >>>> _______________________________________________
> >>>> rspec-devel mailing list
> >>>> rspec-devel at rubyforge.org
> >>>> http://rubyforge.org/mailman/listinfo/rspec-devel
> >>>>
> >>> _______________________________________________
> >>> rspec-devel mailing list
> >>> rspec-devel at rubyforge.org
> >>> http://rubyforge.org/mailman/listinfo/rspec-devel
> >>
> >> _______________________________________________
> >> rspec-devel mailing list
> >> rspec-devel at rubyforge.org
> >> http://rubyforge.org/mailman/listinfo/rspec-devel
> >>
> > _______________________________________________
> > rspec-devel mailing list
> > rspec-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-devel
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list