Skip to main content

VS Code

To authenticate your VS Code with your Tesmon account, please follow the instructions provided in the following link: Authentication with Tesmon Account for VS Code

Step 1: Set Environment ID

To configure the environment ID in the Tesmon extension, follow these steps:

  1. Press Cmd + P (Mac) or Ctrl + P (Windows/Linux) to open the command palette.
  2. Type "Tesmon: Set Environment ID" and select the option from the list.
  3. Enter the Environment ID from Environments page when prompted.
  4. Press Enter to save it.

By setting the environment ID, you can save time and eliminate the need to manually enter it every time you run test cases. This enables a smoother and more efficient test case development workflow.

Step 2: Set Env Config ID

To configure the Env Config ID in the Tesmon extension, follow these steps:

  1. Press Cmd + P (Mac) or Ctrl + P (Windows/Linux) to open the command palette.
  2. Type "Tesmon: Set Env Config ID" and select the option from the list.
  3. Enter the Env Config ID from your TesmonLang when prompted.
  4. Press Enter to save it.

Step 3: Run Tests

  1. Open any test files, and the tests will be automatically built upon saving.
  2. Navigate to the Testing view, as shown in the screenshot below:

Screenshot of Testing Section in Visual Studio Code

  1. Click on "Run All" to execute all tests, or choose specific tests to run.
  2. You can monitor the progress of the test run in the output window.
  3. Once the test run is complete, you can visualize the results and analyze the test outcomes.