{"id":15844936,"url":"https://github.com/rluvaton/vitest-vs-code-plugin","last_synced_at":"2025-03-15T19:32:16.706Z","repository":{"id":185835135,"uuid":"674183300","full_name":"rluvaton/vitest-vs-code-plugin","owner":"rluvaton","description":"Vitest VS Code plugin that actually work","archived":false,"fork":false,"pushed_at":"2024-03-24T22:01:08.000Z","size":158,"stargazers_count":4,"open_issues_count":7,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-06T17:41:29.761Z","etag":null,"topics":["testing","vitest","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=rluvaton.vscode-vitest","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rluvaton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-03T10:30:07.000Z","updated_at":"2024-06-29T04:04:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"93f5dabf-dbb0-484c-b6af-e97444640560","html_url":"https://github.com/rluvaton/vitest-vs-code-plugin","commit_stats":null,"previous_names":["rluvaton/vitest-vs-code-plugin"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rluvaton%2Fvitest-vs-code-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rluvaton%2Fvitest-vs-code-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rluvaton%2Fvitest-vs-code-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rluvaton%2Fvitest-vs-code-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rluvaton","download_url":"https://codeload.github.com/rluvaton/vitest-vs-code-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221608608,"owners_count":16851254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["testing","vitest","vscode-extension"],"created_at":"2024-10-05T17:41:22.386Z","updated_at":"2024-10-27T00:21:52.923Z","avatar_url":"https://github.com/rluvaton.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-vitest\n\nVitest runner for vscode that actually works\n\n### Run/Watch/debug any test (`it`, `test`, or `describe`) in `.js`, `.ts`, `.jsx`, or `.tsx` files:\n\n  ![preview](screenshot.png)\n\n\n## Extension Settings\n\n| Command                           | Description                               | Examples                                                                                                      | Default                                       |\n| --------------------------------- | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------| --------------------------------------------- |\n| `vscode-vitest.preTest`           | Any command(s) to run before test starts  | `[\"npm run script1\", \"npm run script2\"` (will run in the given order. If command(s) fail, tests will not run) | []                                            |\n| `vscode-vitest.postTest`          | Any command(s) to run after test finishes | `[\"npm run clean1\", \"npm run clean2\"`   (will run in the given order)                                         | []                                            |\n| `vscode-vitest.packageManager`    | Desired package manager                   | `npm`, `yarn`, `pnpm`, `pnpn dlx`, etc                                                                        | `npx`                                         |\n| `vscode-vitest.testCommand`       | Define an alternative vitest command      | `test` (e.g. for CRA, package.json `test` script, or similar abstractions)                                    | `vitest`                                      |\n| `vscode-vitest.extraArguments`    | Any additional vitest arguments           |  `--silent=true --maxWorkers=2`                                                                               | `\"\"`                                          |\n| `vscode-vitest.executableOptions` | Executable option to show                 |  `{\"debug\": false, \"run\": false}` (will only display `watch`)                                                 | `{\"debug\": true,\"run\": true, \"run\": true}`    |\n\n\n### Example Settings:\n```\n  \"vscode-vitest.preTest\": [\"npm run script1\"],\n  \"vscode-vitest.postTest\": [\"npm run cleanAfterTest\"],\n  \"vscode-vitest.packageManager\": \"pnpm\",\n  \"vscode-vitest.testCommand\": \"test\",\n  \"vscode-vitest.extraArguments\": \"--silent --maxWorkers=2\",\n  \"vscode-vitest.executableOptions\": {\n    \"debug\": false,\n    \"watch\": false\n  },\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frluvaton%2Fvitest-vs-code-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frluvaton%2Fvitest-vs-code-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frluvaton%2Fvitest-vs-code-plugin/lists"}