﻿---
title: Testing
description: The files in this directory are used for testing purposes. Do not edit these files unless you are working on tests. For automated {settings} stress tests...
url: https://www.elastic.co/elastic/docs-builder/docs/3406/reference/docs-builder/testing
products:
  - Elastic Docs Builder
---

# Testing
The files in this directory are used for testing purposes. Do not edit these files unless you are working on tests.

## Kibana settings YAML fixtures

For automated `{settings}` stress tests that include Kibana-exported YAML, see [Kibana settings YAML samples](https://www.elastic.co/elastic/docs-builder/docs/3406/reference/docs-builder/testing/kibana-settings-yaml-samples).
test

###### 

```json
{
  "key": "value"
}
```

```json
{
  "key": "value"
}
```

1. this is a list
   ```json
      {
        "key": "value"
      }
   ```
   1. this is a sub-list
   ```json
   {
     "key": "value"
   }
   ```

```json

{"system.cpu.idle.pct": 0.908}

{"system.cpu.idle.pct": 0.105}
```

```json

{
  "max_docs": 10,
  "source": {
    "index": "my-index-000001",
    "query": {
      "function_score" : {
        "random_score" : {},
        "min_score" : 0.9
      }
    }
  },
  "dest": {
    "index": "my-new-index-000001"
  }
}
```

```json
```

```json

{
  "mappings": {
    "enabled": false <1>
  }
}


{
  "user_id": "kimchy",
  "session_data": {
    "arbitrary_object": {
      "some_array": [ "foo", "bar", { "baz": 2 } ]
    }
  },
  "last_updated": "2015-12-06T18:20:22"
}
```

```javascript
const foo = "bar"; 
```

<applies-switch>
  <applies-item title="stack:" applies-to="Elastic Stack: Generally available">
    Content for Stack
  </applies-item>

  <applies-item title="serverless:" applies-to="Elastic Cloud Serverless: Generally available">
    Content for Serverless
  </applies-item>
</applies-switch>

<applies-switch>
  <applies-item title="stack:" applies-to="Elastic Stack: Generally available">
    Content for Stack
  </applies-item>

  <applies-item title="serverless:" applies-to="Elastic Cloud Serverless: Generally available">
    Content for Serverless
  </applies-item>
</applies-switch>