forked from mtusi2026/mtusi2026lab4
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# Публичный smoke и структура контракта
|
||
|
||
[Отчёт](../../REPORT.md) · [Все критерии](README.md)
|
||
|
||
Статус: **PASS**. Запуск: `20261018T203755.405686Z`.
|
||
|
||
Тесты создают синтетические данные. Интеграционные Go-тесты используют отдельные схемы БД и собственные S3-ключи.
|
||
|
||
## structure
|
||
|
||
```sh
|
||
make check
|
||
```
|
||
|
||
Начало: 2026-10-18T20:38:16.782745+00:00; длительность: 16.132 с; exit code: 0.
|
||
|
||
````text
|
||
python3 scripts/check_contract.py
|
||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||
````
|
||
|
||
## smoke
|
||
|
||
```sh
|
||
make test
|
||
```
|
||
|
||
Начало: 2026-10-18T20:38:32.945680+00:00; длительность: 8.175 с; exit code: 0.
|
||
|
||
````text
|
||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
||
````
|
||
|
||
## Реализация
|
||
|
||
- [tests/smoke.py](../../tests/smoke.py)
|
||
- [contracts/openapi.json](../../contracts/openapi.json)
|