Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>rspec-runnerNew to Visual Studio Code? Get it now.
rspec-runner

rspec-runner

onlyno2

|
715 installs
| (0) | Free
Quickly run rspec on vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

rspec-runner for Visual Studio Code (vscode)

Provives utilities to quickly run rspec files from vscode via vscode terminal

Features

  • Run all spec files
  • Run current spec file with ctrl alt F or cmd alt F
  • Run current spec line with ctrl alt L or cmd alt L

ChangeLog

ChangeLog

Configuration

Specify configuration (via navigating to File > Preferences > Workspace Settings and editing file settings.json). For example:

{
  "rspec-runner.executePath": "rspec",
  "rspec-runner.outputFormat:" "documentation",
  "rspec-runner.useBundler": true
}

When using rails with docker, you can define an executable script and set rspec-runner.executePath to that script:

  • rspec (root directory)
#!/bin/sh
docker-compose exec -T <your-service> bundle exec rspec "$@"
  • configuration
{
  "rspec-runner.executePath": "./rspec",
  "rspec-runner.outputFormat:" "documentation",
  "rspec-runner.useBundler": true
}

TODO

  • Add more configuration options
  • Add feature to run all specs within a folder

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft