rails-run-spec-vscode icon indicating copy to clipboard operation
rails-run-spec-vscode copied to clipboard

Allow run file specs to work with nested apps

Open nathanKramer opened this issue 3 years ago • 2 comments

This allows VS Code projects with multiple app directories (e.g rails engines etc), or rails apps that are not at the root of the project, to work. It introduces the assumption that the rails root is called "app", and that this may not be the first entry in the path.

For example:

core/app/...
core/spec/...
microservice_A/app/...
microservice_A/spec/...

nathanKramer avatar Mar 12 '21 01:03 nathanKramer

Would love to see this merged! It's very useful for Rails engines.

rpellerin avatar Oct 26 '21 10:10 rpellerin

I'm going to fork and publish this patch, because I use this shortcut constantly and need it.

nialbima avatar May 24 '24 15:05 nialbima