Skip to content

feat: support multiple RSpec directories#142

Open
sablecode wants to merge 1 commit intoconnorshea:mainfrom
sablecode:fix/multiple-rspec-directories
Open

feat: support multiple RSpec directories#142
sablecode wants to merge 1 commit intoconnorshea:mainfrom
sablecode:fix/multiple-rspec-directories

Conversation

@sablecode
Copy link
Copy Markdown

Summary

Adds support for configuring rubyTestExplorer.rspecDirectory as either a single directory or an array of directories.

Changes

  • allow rubyTestExplorer.rspecDirectory to be a string or string array in the extension config schema
  • include all configured RSpec directories when building the rspec --pattern glob
  • update test tree path handling so files from multiple spec roots are grouped correctly
  • update the save watcher so edits in any configured RSpec directory trigger reloads
  • document array usage in the README

Testing

  • npm install --ignore-scripts
  • npm run build

Closes #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multiple spec directories in settings

1 participant