---
title: Stepper test (closed stepper)
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Cdocs e2e tests > Stepper test (closed stepper)
---

# Stepper test (closed stepper)

## Overview{% #overview %}

This is a test page used to verify the behavior of a closed stepper (stepper with no `open` attribute).

## Stepper component{% #stepper-component %}
Install the database
Run the following command to install FakeDB:

```
curl -fsSL https://fakedb.example.com/install.sh | bash
```

After the installation completes, verify that FakeDB is running:

```
fakedb --version
```
Configure the database
Create a configuration file for FakeDB:

{% tab title="YAML" %}

```
fakedb:
  host: localhost
  port: 5432
  database: mydb
  username: admin
  password: secret
  max_connections: 100
  timeout: 30s
```

{% /tab %}

{% tab title="JSON" %}

```
{
  "fakedb": {
    "host": "localhost",
    "port": 5432,
    "database": "mydb",
    "username": "admin",
    "password": "secret",
    "max_connections": 100,
    "timeout": "30s"
  }
}
```

{% /tab %}
Connect to the database
Start the FakeDB service and open a connection:

```
fakedb start
fakedb connect --host localhost --port 5432 --database mydb --username admin
```

To verify the connection is working, run a test query:

```
fakedb query "SELECT 1;"
```

You're all set. Happy databasing!
