Closed gcentauri closed 4 years ago
I can't quite tell why this is happening. If I try
it "tests things" true end
the test name looks correct -n/tests_things/, but the test runner doesn't pick it up. however, removing the space so its "teststhings" did work. This thread seems to have some helpful info https://stackoverflow.com/questions/5285711/is-it-possible-to-run-a-single-test-in-minitest
-n/tests_things/
"teststhings"
Turns out the "it" syntax regular expression passed on the command line needs to preserve the spaces in the name. Emacs seems to automatically escape them with comint-mode or something.
I can't quite tell why this is happening. If I try
the test name looks correct
-n/tests_things/
, but the test runner doesn't pick it up. however, removing the space so its"teststhings"
did work. This thread seems to have some helpful info https://stackoverflow.com/questions/5285711/is-it-possible-to-run-a-single-test-in-minitest