{"id":15063356,"url":"https://github.com/travetto/vscode-plugin","last_synced_at":"2025-10-05T00:30:27.122Z","repository":{"id":57379315,"uuid":"105412725","full_name":"travetto/vscode-plugin","owner":"travetto","description":"VS Code plugin for interacting with the Travetto framework","archived":true,"fork":false,"pushed_at":"2020-05-26T00:35:05.000Z","size":4277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T05:57:09.754Z","etag":null,"topics":["realtime-feedback","travetto","typescript","unit-testing","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://travetto.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/travetto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-01T01:50:06.000Z","updated_at":"2023-01-28T13:51:38.000Z","dependencies_parsed_at":"2022-09-02T17:35:01.795Z","dependency_job_id":null,"html_url":"https://github.com/travetto/vscode-plugin","commit_stats":null,"previous_names":["travetto/test-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travetto%2Fvscode-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travetto%2Fvscode-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travetto%2Fvscode-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travetto%2Fvscode-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/travetto","download_url":"https://codeload.github.com/travetto/vscode-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235330422,"owners_count":18972829,"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":["realtime-feedback","travetto","typescript","unit-testing","vscode","vscode-extension"],"created_at":"2024-09-24T23:55:35.553Z","updated_at":"2025-10-05T00:30:21.574Z","avatar_url":"https://github.com/travetto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VS Code Plugin\n\nThe [`plugin`](https://marketplace.visualstudio.com/items?itemName=arcsine.travetto-plugin) directly integrates with [Travetto framework](https://travettio.io), exposing the [`cli`](https://github.com/travetto/travetto/tree/master/module/cli) functionality.\n\nThe currently supported features are:\n* Real-time test evaluation and debugging\n* Application launching with parameters\n* Miscellaneous utilities\n\n## Testing\n\nThe test related functionality relies upon the [`test`](https://github.com/travetto/travetto/tree/master/module/test) module being installed, and used to define tests (`@Suite` and `@Test`).\n\n### Real-time test evaluation.\n\nThe real-time test functionality will re-evaluate your test code on save.  This means as you type and save, the test will run.  The test will provide feedback inline, using green to indicate success, red to indicate failure, and gray to indicate unknown.\n\n![Real-time Testing](images/real-time-testing.gif)\n\n#### Supported commands \n\n`Travetto: Re-Run tests` to force a full re-run of all the tests in a given document\n  \n### Debugging tests\n\nWhile working on a test, if you want to debug it, you can press running `command-shift-t` on OSX or `ctrl-shift-t` on win/linux.  This will start a debug session with the current \nline activated as a breakpoint.  This allows you to seamlessly jump into a debug session while writing tests.\n\n![Debugging Single Test](images/debug-single-test.gif)\n\n#### Supported commands\n\n`Travetto: Debug tests` to force a running all the tests in debug mode.  Will not establish a breakpoint, but will use any existing breakpoints.\n\n## Application launching\n\nWhile using the [`di`](https://github.com/travetto/travetto/tree/master/module/di), a common pattern is to use `@Application` annotations to define entry points into the application.  These entry points can take parameters, and if using the cli, you can invoke them with parameters, type checked and validated.\n\nThe plugin exposes this functionality as a command, to allow you to debug these applications directly from vscode.  \n\n### Running\n\n![Run Workflow](images/run-workflow.gif)\n\nLaunching relies upon the command `Travetto: Run New Application`.  This will show you a list of the available entry points in the application, with the parameters they support.  Selecting an application will take you through the parameter flow to select inputs, and once all parameters are selected, your application will launch.  \n\nAfter running and selecting a configuration for an application, you can now access those configurations via `Travetto: Run Recent Application`.  This allows you to execute a recent run that you can invoke immediately without prompting for inputs. If you find yourself running the same application multiple times, you can also invoke `Travetto: Run Most Recent Application` to bypass application selection overall.\n\n### Exporting and Customizing\n\n![Export Workflow](images/run-export-workflow.gif)\n\nIf at any point in time, you wish to modify the launch configuration of any application, you can execute the command `Travetto: Export Application Launch`, and it will provide the same options as launch.  The only difference is that instead of running the application when it's done, you will have a new launch config in your debug launch configs.  This option is now completely independent from the plugin and can be modified without issue.\n\n#### Commands\n\n`Travetto: Run New Application` to launch a new application config\n`Travetto: Run Recent Application` to launch a previously configured application\n`Travetto: Run Most Recent Application` to launch the most recently run configured application\n`Travetto: Export Application Launch` to export an application config\n\n## Misc Utilities\n\nCurrently the supported commands are:\n\n`Travetto: Clean` to run the cli operation `travetto clean`.  This will purge the project's cache, which is generally useful for things like npm installs.\n\u003c!-- Image of clean --\u003e\n\n\u003cdiv class=\"release-info\"\u003e\n\n# Requirements\n\n* You should have the [`Travetto framework`](https://travetto.io) installed, version 0.5.0 and higher. \n* Tests require the [`test`](https://github.com/travetto/travetto/tree/master/module/test) module to be installed.\n* Application running requires the [`di`](https://github.com/travetto/travetto/tree/master/module/di) module to be installed.\n\n# Known Issues\n\nCalling out known issues can help limit users opening duplicate issues against your extension.\n\n# Release Notes\n\n## 0.5.x\n\n* Introduced application launching\n* Resolved test stability issues\n* Introduced clean functionality\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravetto%2Fvscode-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravetto%2Fvscode-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravetto%2Fvscode-plugin/lists"}