Skip to content

Commit

Permalink
chore: rename from vscode-hermione to vscode-testplane
Browse files Browse the repository at this point in the history
  • Loading branch information
DudaGod committed Jul 1, 2024
1 parent 11483e6 commit 302d387
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -11,7 +11,7 @@
"Testing"
],
"activationEvents": [
"workspaceContains:node_modules/.bin/hermione",
"workspaceContains:node_modules/.bin/testplane",
"onCommand:hrm.install"
],
"main": "./out/extension.js",
Expand All @@ -20,7 +20,7 @@
{
"category": "Test",
"command": "hrm.install",
"title": "Install Hermione"
"title": "Install Testplane"
}
],
"keybindings": {
Expand All @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 302d387

Please sign in to comment.