refactor: docs

This commit is contained in:
ITQ
2025-07-19 16:26:33 +03:00
parent 5412b65a7d
commit 30bbda2e7c
5 changed files with 34 additions and 60 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# AdNova Tests
There is `unit` and `e2e` tests available, unit tests are placed all around `backend` serivce folder and `e2e` tests placed [here](./e2e/).
There is `unit` and `e2e` tests available, unit tests are placed all around `backend` service folder and `e2e` tests placed [here](./e2e/).
## Running unit tests
+11 -13
View File
@@ -11,27 +11,25 @@ Ensure you have the following installed on your system:
## Warning
Plese note that containers will use ports from 13241 to 13245 and 8080, so there is must be no listeners on this ports range.
Please note that containers will use ports from 13241 to 13245 and 8080, so there is must be no listeners on this ports range.
## Clone the project
## Setup
### Clone the project
### Go to the project directory
```bash
git clone https://gitlab.prodcontest.ru/2025-final-projects-back/devitq.git
cd AdNova/tests/e2e
```
## Go to the project directory
```bash
cd devitq/solution/tests/e2e
```
## Install dependencies
### Install dependencies
```bash
uv sync --no-dev
```
## Customize environment (optional)
### Customize environment (optional)
```bash
cp .env.template .env
@@ -39,12 +37,12 @@ cp .env.template .env
And setup env vars according to your needs.
## Run tests
### Run tests
```bash
uv run pytest .
```
## Results
### Results
You will see something like `n passed in Ns`