Open dkniffin opened 9 years ago
@dkniffin: Not exactly what you're looking for, but you could use ruby-test-switcher to help you doing that with two keystrokes.
Integrating its functionality with some test runners (like atom-rspec) is something I want to do. This way you could run the associated test file with a single keystroke instead of two ;)
You can do this running your test once and then using the 'Run last' feature.
I'd like to be able to press the hotkey for "run test" from the code that I'm writing (not the spec file), and have it run the related test for that code.
Eg: if I'm working in dog.rb, I'd like to able to run dog_spec.rb (which could complete to spec/dog_spec.rb, or maybe ../../spec/models/dog_spec.rb).