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

New Adapter for MiniTest 5 #127

Open trans opened 10 years ago

trans commented 10 years ago

MiniTest's API changed to (finally) support custom reporters properly. Turn needs to be updated to support this new API.

Basically this means the MiniRunner class can probably be simplified to almost no code, and the heavy lifting will be taken over by an interface adapter between Turn's Reporter class and MiniTest's.

But it may be prudent to do this in such a way as to retain support MiniTest 4 still --on the other hand we could just require that users update to MiniTest 5.

(See also #122)

clod81 commented 10 years ago

:+1:

knightq commented 10 years ago

+1

ricardodovalle commented 10 years ago

:+1:

trans commented 10 years ago

I just pushed preliminary support to master. I guarantee some things are quite broken, but the basics are at least working.