Open harsh183 opened 8 years ago
Good idea. I'd be happy to review a PR that adds this feature.
For now, maybe use a bash loop?
for i in $( find test -name '*_test.rb' ); do
mt2rspec "$i"
done
Thanks, maybe I'll make that later. (Unless you want to)
Thanks, maybe I'll make that later. (Unless you want to)
Go for it. Most of the new feature will go in lib/minitest_to_rspec/cli.rb
.
Sure, I'm a little busy so a bit later.
On Tue, Aug 9, 2016 at 10:04 PM Jared Beck notifications@github.com wrote:
Thanks, maybe I'll make that later. (Unless you want to)
Go for it. Most of the new feature will go in lib/minitest_to_rspec/cli.rb .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jaredbeck/minitest_to_rspec/issues/2#issuecomment-238611187, or mute the thread https://github.com/notifications/unsubscribe-auth/AHa3Zm7PyfbggFf6R2vZZgIkaaXFPLPGks5qeKwjgaJpZM4JftPi .
Harsh Deep
Taking one file at a time is quite a lot of work so if there a single command, so a new command which will take the whole thing and convert it into a rpsec file structure with all the equivalent tests.