{"id":16905727,"url":"https://github.com/octref/vscode-149-linux-crash","last_synced_at":"2026-04-11T04:34:01.496Z","repository":{"id":85550382,"uuid":"295083172","full_name":"octref/vscode-149-linux-crash","owner":"octref","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-13T06:13:27.000Z","size":195,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T22:50:13.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/octref.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2020-09-13T05:15:34.000Z","updated_at":"2025-03-29T00:15:02.000Z","dependencies_parsed_at":"2023-03-04T07:30:30.380Z","dependency_job_id":null,"html_url":"https://github.com/octref/vscode-149-linux-crash","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/octref/vscode-149-linux-crash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fvscode-149-linux-crash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fvscode-149-linux-crash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fvscode-149-linux-crash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fvscode-149-linux-crash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octref","download_url":"https://codeload.github.com/octref/vscode-149-linux-crash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fvscode-149-linux-crash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T18:39:24.534Z","updated_at":"2026-04-11T04:34:01.451Z","avatar_url":"https://github.com/octref.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\n  \u003ch1 align=\"center\"\u003evscode-test\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://dev.azure.com/vscode/vscode-test/_build?definitionId=15\"\u003e\n    \u003cimg src=\"https://img.shields.io/azure-devops/build/vscode/350ef5c4-15fc-411a-9a5e-0622da4da69c/15.svg?label=Azure%20DevOps\u0026logo=Azure%20Devops\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/microsoft/vscode-test\"\u003e\n    \u003cimg src=\"https://img.shields.io/travis/microsoft/vscode-test.svg?label=Travis\u0026logo=Travis\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThis module helps you test VS Code extensions.\n\nSupported:\n\n- Node \u003e= 8.x\n- Windows \u003e= Windows Server 2012+ / Win10+ (anything with Powershell \u003e= 5.0)\n- macOS\n- Linux\n\n## Usage\n\nSee [./sample](./sample) for a runnable sample, with [Azure DevOps Pipelines](https://github.com/microsoft/vscode-test/blob/master/sample/azure-pipelines.yml) and [Travis CI](https://github.com/microsoft/vscode-test/blob/master/.travis.yml) configuration.\n\n```ts\nasync function go() {\n\ttry {\n\t\tconst extensionDevelopmentPath = path.resolve(__dirname, '../../../')\n\t\tconst extensionTestsPath = path.resolve(__dirname, './suite')\n\n\t\t/**\n\t\t * Basic usage\n\t\t */\n\t\tawait runTests({\n\t\t\textensionDevelopmentPath,\n\t\t\textensionTestsPath\n\t\t})\n\n\t\tconst extensionTestsPath2 = path.resolve(__dirname, './suite2')\n\t\tconst testWorkspace = path.resolve(__dirname, '../../../test-fixtures/fixture1')\n\n\t\t/**\n\t\t * Running another test suite on a specific workspace\n\t\t */\n\t\tawait runTests({\n\t\t\textensionDevelopmentPath,\n\t\t\textensionTestsPath: extensionTestsPath2,\n\t\t\tlaunchArgs: [testWorkspace]\n\t\t})\n\n\t\t/**\n\t\t * Use 1.36.1 release for testing\n\t\t */\n\t\tawait runTests({\n\t\t\tversion: '1.36.1',\n\t\t\textensionDevelopmentPath,\n\t\t\textensionTestsPath,\n\t\t\tlaunchArgs: [testWorkspace]\n\t\t})\n\n\t\t/**\n\t\t * Use Insiders release for testing\n\t\t */\n\t\tawait runTests({\n\t\t\tversion: 'insiders',\n\t\t\textensionDevelopmentPath,\n\t\t\textensionTestsPath,\n\t\t\tlaunchArgs: [testWorkspace]\n\t\t})\n\n\t\t/**\n\t\t * Noop, since 1.36.1 already downloaded to .vscode-test/vscode-1.36.1\n\t\t */\n\t\tawait downloadAndUnzipVSCode('1.36.1')\n\n\t\t/**\n\t\t * Manually download VS Code 1.35.0 release for testing.\n\t\t */\n\t\tconst vscodeExecutablePath = await downloadAndUnzipVSCode('1.35.0')\n\t\tawait runTests({\n\t\t\tvscodeExecutablePath,\n\t\t\textensionDevelopmentPath,\n\t\t\textensionTestsPath,\n\t\t\tlaunchArgs: [testWorkspace]\n\t\t})\n\n\t\t/**\n\t\t * Install Python extension\n\t\t */\n\t\tconst cliPath = resolveCliPathFromVSCodeExecutablePath(vscodeExecutablePath)\n\t\tcp.spawnSync(cliPath, ['--install-extension', 'ms-python.python'], {\n\t\t\tencoding: 'utf-8',\n\t\t\tstdio: 'inherit'\n\t\t})\n\n\t\t/**\n\t\t * - Add additional launch flags for VS Code\n\t\t * - Pass custom environment variables to test runner\n\t\t */\n\t\tawait runTests({\n\t\t\tvscodeExecutablePath,\n\t\t\textensionDevelopmentPath,\n\t\t\textensionTestsPath,\n\t\t\tlaunchArgs: [\n\t\t\t\ttestWorkspace,\n\t\t\t\t// This disables all extensions except the one being testing\n\t\t\t\t'--disable-extensions'\n\t\t\t],\n\t\t\t// Custom environment variables for extension test script\n\t\t\textensionTestsEnv: { foo: 'bar' }\n\t\t})\n\n\t\t/**\n\t\t * Use win64 instead of win32 for testing Windows\n\t\t */\n\t\tif (process.platform === 'win32') {\n\t\t\tawait runTests({\n\t\t\t\textensionDevelopmentPath,\n\t\t\t\textensionTestsPath,\n\t\t\t\tversion: '1.40.0',\n\t\t\t\tplatform: 'win32-x64-archive'\n\t\t\t});\n\t\t}\n\n\t} catch (err) {\n\t\tconsole.error('Failed to run tests')\n\t\tprocess.exit(1)\n\t}\n}\n\ngo()\n```\n\n## Development\n\n- `yarn install`\n- Make necessary changes in [`lib`](./lib)\n- `yarn compile` (or `yarn watch`)\n- In [`sample`](./sample), run `yarn install`, `yarn compile` and `yarn test` to make sure integration test can run successfully\n\n## License\n\n[MIT](LICENSE)\n\n## Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctref%2Fvscode-149-linux-crash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctref%2Fvscode-149-linux-crash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctref%2Fvscode-149-linux-crash/lists"}