https://github.com/socketry/sus-vscode
https://github.com/socketry/sus-vscode
ruby sus testing vscode
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/socketry/sus-vscode
- Owner: socketry
- License: mit
- Created: 2022-10-04T09:19:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T11:51:57.000Z (about 1 year ago)
- Last Synced: 2025-04-19T20:09:49.303Z (6 months ago)
- Topics: ruby, sus, testing, vscode
- Language: TypeScript
- Homepage:
- Size: 486 KB
- Stars: 8
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Sus VSCode Test Provider
Experimental extension for showing tests in VSCode.

## Usage
### Environment Variables
In some cases, you might want to specify a custom `BUNDLE_GEMFILE` or other environment variables that need to be set before the test suite is loaded. You can do this by defining a `.env.sus` dotenv file in the root of your project. This file will be loaded by the extension and the environment variables will be set before any commands are run.
## Debugging
- Check out the code.
- Run `npm install` to install dependencies.
- Open the code in an editor.
- Run the `Run Extension` target in the Debug View. This will:
- Start a task `npm: watch` to compile the code.
- Run the extension in a new code window.
- Open the `sus` repo in the new code window.
- Check the `Tests` sidebar icon.