> For the complete documentation index, see [llms.txt](https://swallow-1.gitbook.io/swallow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://swallow-1.gitbook.io/swallow/test/editing-tests.md).

# Editing Tests

## Editing single test cases

Scroll down to the bottom of the 'Test' page and you'll see a table listing all of the current tests running.&#x20;

Hover over the test row you want to edit, and a 'View' button will appear on the right-hand side. Click this button and it will open the details of your test.

<figure><img src="/files/kxDUyCPE6mi4FmyWcc4K" alt="" width="165"><figcaption><p>'View' button</p></figcaption></figure>

Once you've opened a test, you can change any details within it.&#x20;

* **Test name** - The name of your test.
* **Outputs** - Add the expected price and validity outputs of your test, so you can compare them against results.
* **Inputs** - Edit the inputs of your test.

Make sure to save your test once you're finished, by pressing the 'Save Test' button in the top right.

<figure><img src="/files/4kkRFkO1aMUnOCt5k2S8" alt="" width="92"><figcaption><p>'Save test' button</p></figcaption></figure>

## Bulk editing tests

You can bulk edit tests by downloading all of your tests as a CSV, using the 'Download Tests' button at the top left of the 'Tests' tab screen.

You can then make changes in the document before re-uploading it.

<figure><img src="/files/bZeq6xgfxDe4AlKKMds1" alt="" width="262"><figcaption><p>Upload &#x26; Download buttons</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://swallow-1.gitbook.io/swallow/test/editing-tests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
