> For the complete documentation index, see [llms.txt](https://docs.coherent.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coherent.global/the-spark-assistant/test-mode.md).

# Test Mode

In more traditional methods of deploying logic, calculations defined by a user are provided to a developer to develop and integrate into a system. Testing is performed separately by the Excel owner and the developer in order to validate that the calculations are correct via comparison. This can be a long and tedious process.

With Spark Assistant Test mode we aim to "close the loop" on testing by allowing users to determine a set of results in Excel and compare that to those determined in Spark via the Testing Center. This eliminates the back-and-forth process needed in traditional model testing. This functionality can then be further extended to enable users to easily create test cases and creatively understand differences in iterations of models.

### Live Testing <a href="#live-testing" id="live-testing"></a>

Using this feature, users can compare all the configured outputs of the open Excel file against an active API on Spark. This can help owners of Excel pricing models to make sure that Spark supports the formulas used, formatting, and other logic inside the cells. This works similarly to the unit testing functionality in our [API Tester](/navigation/api-tester.md), but resides in Excel.

#### Test manually

Any range outputs that do not match are also present below in the same list. Click on any output name to see the mismatches highlighted on the open Excel file.

1. Log into Spark Assistant
2. Click **Test Mode**
3. Select *Live Testing*
4. Select an API to test and compare your outputs against
5. Click **Compare**

The result is a list of any outputs that do not match with the results on Spark&#x20;

![Single output mismatches shown on the Spark Assistant](/files/iMT86WCa0buOrxtkq8dN)

![Range output mismatches shown on the Spark Assistant](/files/y140Mr4DVxG6o1LfHVws)

#### Test automatically

In order to check for mismatches on your output parameters, check the toggle for "Auto-mismatch check". This feature will trigger a comparison for all outputs every 10 seconds. This feature can come in handy if you wish to change inputs frequently and see the response from Spark.

![](/files/YZVum8rjVJvdffmr7Qth)


---

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

```
GET https://docs.coherent.global/the-spark-assistant/test-mode.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.
