{"id":22181579,"url":"https://github.com/gfarb/lwc-test-creator","last_synced_at":"2025-07-26T19:30:39.471Z","repository":{"id":42466227,"uuid":"373638893","full_name":"gfarb/lwc-test-creator","owner":"gfarb","description":"LWC Test Creator is an open-source VS Code extension built with JavaScript and the VS Code Extension API enabling users to quickly create boilerplate tests for Salesforce Lightning Web Components.","archived":false,"fork":false,"pushed_at":"2022-04-04T17:05:45.000Z","size":497,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-06T17:42:58.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gfarb.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":"2021-06-03T20:55:48.000Z","updated_at":"2023-02-08T21:32:41.000Z","dependencies_parsed_at":"2022-09-21T03:20:57.732Z","dependency_job_id":null,"html_url":"https://github.com/gfarb/lwc-test-creator","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarb%2Flwc-test-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarb%2Flwc-test-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarb%2Flwc-test-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarb%2Flwc-test-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfarb","download_url":"https://codeload.github.com/gfarb/lwc-test-creator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227706299,"owners_count":17807447,"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":[],"created_at":"2024-12-02T09:41:03.952Z","updated_at":"2024-12-02T09:41:08.230Z","avatar_url":"https://github.com/gfarb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LWC Test Creator\nLWC Test Creator is an open-source VS Code extension built with JavaScript and the VS Code Extension API enabling users to quickly create boilerplate tests for Salesforce Lightning Web Components.\n\nThis extension creates a Lightning Web Component test template in the appropriate directory and only requires the user to enter the name of the Lightning Web Component as opposed to the path of the Lightning Web Component *.JS file or making the user change to the appropriate target directory while using the `force:lightning:lwc:test:create` CLI command.\n\nInstallation: [https://marketplace.visualstudio.com/items?itemName=MaxGoldfarb.lwc-test-creator](https://marketplace.visualstudio.com/items?itemName=MaxGoldfarb.lwc-test-creator)\n\n![Demo](https://media.giphy.com/media/mmE8GRgrZUYTp1vUP8/giphy.gif)\n\n## Features\n* Create Jest Test\n  * Creates a `__tests__` directory in the appropriate directory for the target Lightning Web Component.\n  * Creates a `\u003cLightning Web Component Name\u003e.test.js` file with boilerplate code in the `__tests__` directory.\n  * How to use (after installation):\n    1. Open VS Code Command Palette\n    2. Search for \u0026 select the `Create Jest Test` LWC Test Creator command\n    3. Type in the name of the target Lightning Web Component \u0026 press 'Enter'\n\n## Requirements\n* VS Code ^v1.56\n* [text-encoding-polyfill](https://www.npmjs.com/package/text-encoding-polyfill)\n\n## Known Issues\n* Overwrites content in an existing test file for the target Lightning Web Component if the test file is named `\u003cLightning Web Component Name\u003e.test.js`.\n\n## Release Notes\n### 1.0.0\nInitial release of LWC Test Creator","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfarb%2Flwc-test-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfarb%2Flwc-test-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfarb%2Flwc-test-creator/lists"}