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.
- All of your tests live under a top level directory named test, tests, spec, or specs.
- Your test file name contains the exact wording of your source code file as a substring.
|Source File Name
||Test File Name
||yes, 'client_spec' contains 'client'
||no, 'email_test' does not contain 'email_controller'
||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'.