diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ab8bed7..3c36bd3 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: File an issue - url: https://github.com/gemini-testing/hermione/issues - about: We track issues in the gemini-testing/hermione repository + url: https://github.com/gemini-testing/testplane/issues + about: We track issues in the gemini-testing/testplane repository diff --git a/README.md b/README.md index 672df4f..b091996 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -# vscode-hermione +# vscode-testplane -This extension supports [Hermione][hermione] features in VS Code environment. Available features: +This extension supports [Testplane][testplane] features in VS Code environment. Available features: -- [Install Hermione](#install-hermione) +- [Install Testplane](#install-testplane) - [Using the REPL mode](#using-the-repl-mode) -## Install Hermione +## Install Testplane -If you are not using hermione yet or starting a new testing project, the "Install Hermione" action from the command panel will help you get started. +If you are not using testplane yet or starting a new testing project, the "Install Testplane" action from the command panel will help you get started. ## Using the REPL mode -Adds a keybinding (`cmd+shift+8` for mac and `ctrl+shift+8` for others) to run a dedicated section of code in the VSCode terminal. More info about [REPL mode][hermione-repl-mode]. You can overwrite this keybinding in [keyboard shortcuts][vscode-keyboard-shortcuts]. +Adds a keybinding (`cmd+shift+8` for mac and `ctrl+shift+8` for others) to run a dedicated section of code in the VSCode terminal. More info about [REPL mode][testplane-repl-mode]. You can overwrite this keybinding in [keyboard shortcuts][vscode-keyboard-shortcuts]. -[hermione]: https://github.com/gemini-testing/hermione -[hermione-repl-mode]: https://github.com/gemini-testing/hermione?tab=readme-ov-file#repl-mode +[testplane]: https://github.com/gemini-testing/testplane +[testplane-repl-mode]: https://github.com/gemini-testing/testplane?tab=readme-ov-file#repl-mode [vscode-keyboard-shortcuts]: https://code.visualstudio.com/docs/getstarted/keybindings diff --git a/package-lock.json b/package-lock.json index 2d56388..dc3cb15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "vscode-hermione", - "version": "0.0.2", + "name": "vscode-testplane", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "vscode-hermione", + "name": "vscode-testplane", "version": "0.0.2", "license": "MIT", "devDependencies": { diff --git a/package.json b/package.json index f54de70..4edf63d 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "vscode-hermione", - "displayName": "Hermione", - "description": "Integration Hermione with VS Code", - "version": "0.0.2", + "name": "vscode-testplane", + "displayName": "Testplane", + "description": "Integration Testplane with VS Code", + "version": "0.0.1", "publisher": "gemini-testing", "engines": { "vscode": "^1.73.0" @@ -11,7 +11,7 @@ "Testing" ], "activationEvents": [ - "workspaceContains:node_modules/.bin/hermione", + "workspaceContains:node_modules/.bin/testplane", "onCommand:hrm.install" ], "main": "./out/extension.js", @@ -20,7 +20,7 @@ { "category": "Test", "command": "hrm.install", - "title": "Install Hermione" + "title": "Install Testplane" } ], "keybindings": { @@ -32,7 +32,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/gemini-testing/vscode-hermione.git" + "url": "git+https://github.com/gemini-testing/vscode-testplane.git" }, "license": "MIT", "scripts": { diff --git a/src/extension.ts b/src/extension.ts index a6f9fe1..3e86d01 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -4,19 +4,19 @@ export function activate(context: vscode.ExtensionContext): void { const disposable = vscode.commands.registerCommand("hrm.install", async () => { const [workspaceFolder] = vscode.workspace.workspaceFolders || []; if (!workspaceFolder) { - await vscode.window.showErrorMessage("Open a folder in VS Code to initialize Hermione"); + await vscode.window.showErrorMessage("Open a folder in VS Code to initialize Testplane"); return; } const terminal = vscode.window.createTerminal({ - name: "Install Hermione", + name: "Install Testplane", cwd: workspaceFolder.uri.fsPath, env: process.env, }); terminal.show(); - terminal.sendText(`npm init hermione-app -- --yes`, true); + terminal.sendText(`npm init testplane@latest -- --yes`, true); }); context.subscriptions.push(disposable);