qrush / m

A Test::Unit runner that can run tests by line number.
MIT License
376 stars 57 forks source link

Support pass in absolute path, or just a bug? #89

Open zw963 opened 2 years ago

zw963 commented 2 years ago

When test failing, we can see a file path like this.

image

Then, we can copy it, and run it again with m.

m /home/zw963/Stocks/marketbet_crawler/test/stocks_test.rb:11
Failed loading test file:
cannot load such file -- .//home/zw963/Stocks/marketbet_crawler/test/stocks_test.rb
There were no tests found.
searls commented 1 year ago

Yeah, this keeps tripping me up too. Would welcome a PR to fix this for anyone who has time. @blowmage, interested?

blowmage commented 1 year ago

I'll take this.