Back to Docs

The Test Editor

Learn how to use the Test Editor in Mechasm to manage test properties, write prompts, and trigger test runs.

The Test Editor is the central hub for managing a specific test. From here, you can view its status, edit its properties, and trigger new test runs.

Test Editor Overview

Test Overview

At the top of the page, you'll find a summary of the test, including:

  • Test Name: The name of the test.
  • Status: The current status of the test (e.g., Passed, Failed, Running).
  • Last Run: The date and time of the most recent test run.

Editing a Test

You can easily modify the test's name and prompt by clicking the Edit button. This will enable an editing mode where you can make changes and save them.

Editing a Test

Prompt and Generated Steps

The editor is divided into two main sections:

  • Prompt: This is where you define the test's instructions in natural language. When in edit mode, you can also insert environment variables directly into the prompt.
  • Generated Test Steps: This section displays the test steps that have been automatically generated from the prompt.

Running a Test

To execute a test, simply click the Run Test button. This will trigger a new test run, and the UI will update in real-time to show the progress and results.