moxley / atom-ruby-test

Run Ruby tests, Rspec examples, and Cucumber features from Atom
MIT License
43 stars 36 forks source link

Allow using {test} in test runner command lines #53

Closed hult closed 9 years ago

hult commented 9 years ago

Since minitest doesn't support running the test on a specified line, I think it'd be nice to support a {test} variable expanding to the name of the current test, so that minitest users can run something like ruby -I test {relative_path} -n {test} for their ruby-test:test-single command.

Not 100% sure how to go about converting test "bla bla bla" do to a test function name the same way minitest does, but this implementation contains a feeble attempt.

hult commented 9 years ago

Nevermind, didn't see https://github.com/moxley/atom-ruby-test/pull/49 before.