# testMode

> Set to true for testing Analytics integration only within the Editor.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Analytics](/engine/6000.7/script-reference/unityeditor/analytics.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool testMode { get; set; }
```

### Remarks

If set to true, `testMode` will cause Analytics events to be flushed immediately by bypassing the local caching (supported only in the Editor). Use this mode to see Analytics events in the Validator.
