---
title: "Tutorial: Basic Test"
description: "Learn how to create and run a basic test using TestDriver."
sidebarTitle: "Basic Test"
icon: "test-tube"
---

# Basic test tutorial

This tutorial will guide you through the process of creating and running a basic test using TestDriver.

## Prerequisites

Before you begin, ensure you have the following:

- TestDriver installed on your system.
- Basic understanding of how TestDriver works.

## Step 1: Create a test

To create a test, follow these steps:

1. Open your code editor.
2. Write the test script using TestDriver's syntax.
3. Save the test script with a `.yaml` extension.

Example:

```yaml

```

## Step 2: Run the test

To run the test, use the following command:

```bash
npx testdriverai@latest run example-test.yaml
```

This will execute the test and display the results in the console.

## Conclusion

You have successfully created and run a basic test using TestDriver. Explore more advanced features to enhance your testing capabilities.
