---
title: "Author and run tests | Grafana Cloud documentation"
description: "Write tests to run on Grafana k6 Cloud"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Author and run tests

k6 emphasizes a *code-based* approach to testing, which makes it easier to modularize scripts, track changes, and automate tests. This code-based approach carries over to cloud execution, which has a few extra scripting capabilities and tags. In the following topics, read about how to author and run tests in Grafana k6:

However, along with the scripting API, the Grafana Cloud k6 ecosystem provides some supportive tools to speed up test creation and facilitate collaboration across different roles.

## Tools to prototype tests

To author tests quickly, you can use the following tools:

- [The Test builder](test-builder/) is a graphical test builder.
- The Script editor is a web-based editor in k6 cloud.
- [k6 Script Authoring mode](k6-script-authoring-mode/) generates production-ready k6 scripts from descriptions, observability data, or existing scripts using AI.
- [The HAR converter](/docs/k6/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter/) turns a HAR file into a k6 test script.

All these tools make portable scripts, which you can later modify in your code editor.
