Anything special needed to migrate test::unit tests from Rails 2x to Rails3?

Looks like I’ve gotten my app upgraded successfully, at least in the
browser. When I ‘rake test’ I get no love. I know I can start digging
through the Rails rake tasks, first want to see if anyone has an idea
what
is going on:

DKMac:creditcompare3 DK$ rake test
(in /Users/DK/Documents/ror/projects/creditcompare3)
DKMac:creditcompare3 DK$

(requesting verbose fares just as badly using TESTOPTS="-v")

Not even an error! I would be happy with an error!

Also tried the old single test file with same result:

DKMac:creditcompare3 DK$ ruby -I lib:test test/unit/account_test.rb
DKMac:creditcompare3 DK$

My test_helper.rb is pretty standard and based on a default Rails 3 app
while I added back my code (not posted here):

ENV[“RAILS_ENV”] = “test”
require File.expand_path(’…/…/config/environment’, FILE)
require ‘rails/test_help’

Is there something I am missing? I ran the rails_upgrade plug in and
successfully passed there, so am at a loss.

Thanks,

David

David K. wrote in post #957640:

Looks like I’ve gotten my app upgraded successfully, at least in the
browser. When I ‘rake test’ I get no love. I know I can start digging
through the Rails rake tasks, first want to see if anyone has an idea
what
is going on:

DKMac:creditcompare3 DK$ rake test

Why not take this opportunity to start using RSpec? You’ll probably be
a lot happier…

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On Thu, Oct 28, 2010 at 10:43 AM, Marnen Laibow-Koser
[email protected]wrote:

a lot happier…

I know, I know, but this is an existing project with a lot of test unit
tests. Even if I do add in rspec later, I have to get these tests to run
and
pass just to know that I have a good upgrade to Rails 3 if nothing else.

On Thu, Oct 28, 2010 at 11:10 AM, Marnen Laibow-Koser
[email protected]wrote:

pass just to know that I have a good upgrade to Rails 3 if nothing else.

That’s true, of course. And unfortunately, I haven’t started working
with Rails 3, so I can’t really give you good advice there.

No worries. That is why you are still sane :slight_smile: I just feel like every
turn I
am pouring in time on little details (having flashbacks to asp.net), but
also have picked up Cucumber and rSpec in the process, so I guess some
of
this is the learning curve on these and should not blame Rails 3.

David K. wrote in post #957827:

On Thu, Oct 28, 2010 at 10:43 AM, Marnen Laibow-Koser
[email protected]wrote:

a lot happier…

I know, I know, but this is an existing project with a lot of test unit
tests. Even if I do add in rspec later, I have to get these tests to run
and
pass just to know that I have a good upgrade to Rails 3 if nothing else.

That’s true, of course. And unfortunately, I haven’t started working
with Rails 3, so I can’t really give you good advice there.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]