turn-project / turn

Turn provides a set of alternative runners for MiniTest, both colorful and informative.
https://rubygems.org/gems/turn
MIT License
416 stars 70 forks source link

error: minitest version out of date #122

Open quinn opened 11 years ago

quinn commented 11 years ago

Seems like a strange error message when referring to the latest version of minitest. Was MiniTest::Unit::runner= removed at some point?

trans commented 11 years ago

What version of minitest are you running?

trans commented 11 years ago

If it is v5.0, it is b/c the Mintest API has totally changed (again). Are there any volunteers that want to update/rewrite the adapter code?

quinn commented 11 years ago

Yes, I was using 5.0.4. I think I'll stick with 4.x for the time being.

On Thu, Jun 13, 2013 at 10:44 AM, 7rans notifications@github.com wrote:

If it is v5.0, it is b/c the Mintest API has totally changed (again). Are there any volunteers that want to update/rewrite the adapter code?

— Reply to this email directly or view it on GitHubhttps://github.com/TwP/turn/issues/122#issuecomment-19409963 .

TvL2386 commented 11 years ago

I just updated from 4.7.0 to 5.0.6, same error. I'll also be sticking to 4.x for the time being.

TvL2386 commented 11 years ago

Wouldn't it be wise for turn to depend on something more specific than 'minitest >= 0'. That would have prevented this error.

EDIT: Correction: It's not a gem dependency I see... Excuse me.

trans commented 11 years ago

I am currently working on the tapout adapter, minitap. When that's finished, I'll use the knowledge gained to write a new turn adapter. But I can't make any promises on the time frame. It's low on the priority list. If anyone else wants it sooner rather than later, please jump in. I'd be more than happy to assist. Barring unforeseen difficulties, it's more or less just a day project.

glesage commented 10 years ago

Seems it's a problem again with Rails 4.1 /: I get MiniTest v5.3.2 is out of date.

prodigerati commented 10 years ago

Same for me when upgraded to rails 4.1 from rails 4.0.4

Minitest v5.3.3 is out of date

damienbrz commented 10 years ago

Got the same problem with Sinatra

bmcharek commented 10 years ago

Same here. Any chance this will be resolved soon? cheers

elfassy commented 10 years ago

/lib/turn/minitest.rb:22 MiniTest v5.3.4 is out of date.

trans commented 10 years ago

This is simply because Turn was written for the older Minitest API (which was basically no API at all and relied on class patching). Turn needs to be updated to work for the new Minitest v5 API (an actual API, wow!). Unfortunately I don't have the time to do it right now. And the new maintainers, for whatever reason, haven't gotten to it either (understandably it is not so easy to wrap ones mind around pre-existing code). If I manage to carve out a few days sometime soon I will make an effort to fill it with this task. But for the moment I can't make any promises.

prodigerati commented 10 years ago

Any update on the new API integration for MiniTest v5+?

trans commented 10 years ago

I just pushed preliminary support for Minitest 5. Some things are broken (filtering and special runners), but the basics are at least working.

I am thinking about dumping support for v4 or less altogether. It will be easier just to maintain the older version of Turn (< 1.0) for a bit longer for anyone whole still uses older Minitest versions.

balasankarc commented 9 years ago

I am getting MiniTest v5.4.2 is out of date

trans commented 9 years ago

@balasankarc Are you using the gem? If so that would be why.

You can try using the github repo directly, but some things aren't 100% yet with Minitest 5. This project needs a new maintainer.

balasankarc commented 9 years ago

@trans I am packaging turn for debian and this error popped up. :(

trans commented 9 years ago

I see. Well, unless this project gets a new maintainer it is effectively dead. So I wouldn't bother.

(I've done all I can --I did most of the heavy lifting to get Minitest 5 compatibility, but it has to be up to someone else to finish it).

tomrossi7 commented 9 years ago

+1 bummer

elfassy commented 9 years ago

@tomrossi7 check out the minitest-reporters gem: https://github.com/kern/minitest-reporters

tomrossi7 commented 9 years ago

Looks good @elfassy! Thanks!

korny commented 9 years ago

minitest-reporters makes turn obsolete, at least for me.

Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new seems the way to go, I think :)

trans commented 9 years ago

Rubytest makes Minitest obsolete, at least for me. So yea, there you go.