> ## Documentation Index
> Fetch the complete documentation index at: https://qreater.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

### Running tests Locally

<Note> Ensure [Python](https://www.python.org/downloads/) , [Poetry](https://python-poetry.org/), and [PyTest](https://docs.pytest.org/en/stable/) are installed on your system. </Note>

The test suite is executed using the following command

```bash theme={null}
poetry run pytest
```

### Running tests in Dockerized environment

<Note> Ensure [Docker](https://docs.docker.com/engine/install/) , [Docker Compose](https://docs.docker.com/compose/install/), and [PyTest](https://docs.pytest.org/en/stable/) are installed on your system. </Note>

Check the Container ID of the build image through

```docker theme={null}
docker ps
```

Copy the Container ID and execute a shell command

```docker theme={null}
docker exec -it <CONTAINER_ID> sh
```

Install dependencies and run `pytest`

```bash theme={null}
poetry install
poetry run pytest
```
