Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Spec BuddyNew to Visual Studio Code? Get it now.
Spec Buddy

Spec Buddy

Riley Mathews

|
638 installs
| (0) | Free
Keeps your spec files open as you open and close source code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

spec-buddy README

Instructions

Use this extension to quickly open up the test file that corresponds to your currently open file.

The searches for test files with the following assumptions.

  1. All of your tests live under a top level directory named test, tests, spec, or specs.
  2. Your test file name contains the exact wording of your source code file as a substring.
Source File Name Test File Name Match
client.rb client_spec.rb yes, 'client_spec' contains 'client'
email_controller.py email_test.py no, 'email_test' does not contain 'email_controller'
email.rb email_service_spec.rb yes, 'email_service_spec' contains 'email'

You can either use the command pallet cmd + shift + p and search for 'Open Spec File'.

Or you can create a keybinding for the command 'specBuddy.openSpec'.

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