Tesmon extension for VS Code allows developers to utilize artificial intelligence to generate tests, as well as execute automated tests and view the results directly within the IDE
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
The Tesmon extension for Visual Studio Code enables you to generate high-quality test cases in real-time using AI technology. The extension leverages Tesmon's AI capabilities to generate Tesmon DSL test cases from plain English text in the form of YAML comments.
Requirements
Visual Studio Code version 1.78 or later
To use the Tesmon extension, you need an API token from Tesmon. You can obtain one from Tokens page.
Installing
Open Visual Studio Code.
Click on the "Extensions" icon in the sidebar on the left.
Search for "Tesmon" in the search bar.
Click the "Install" button to install the extension.
Setting Up
Open the command palette by pressing Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS).
Type "Tesmon: Set Tesmon API Token" and select the option from the dropdown menu.
Paste your API token when prompted.
Click "OK" to save the API token.
Usage
Open a file in Visual Studio Code.
Enter your test case requirements in YAML format as a comment within your code.
Open the command palette by pressing Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS).
Type "Tesmon: Generate Test" and select the option from the dropdown menu.
Support
If you encounter any issues or have any questions, please contact us at support@tesmon.com