# Test runs

Shadow's test run feature allows you to preview shadow events for confirmed transactions, before actually deploying changes to your shadow fork.

This makes it easier to:

* Iterate on your shadow contract changes
* Verify that you're getting the data you expect
* Inspect particularly complex transactions

### Steps

1. Open editor mode for a contract and make changes
2. Compile your shadow contract
3. Click "test run" and paste in a transaction hash
4. Preview your shadow event data
5. If you're happy with the data results, deploy the contract

{% embed url="<https://veed.io/view/2296ed2c-b107-438e-9a66-f79935c23d73>" %}


---

# Agent Instructions: 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:

```
GET https://docs.shadow.xyz/product-guide/test-runs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
