{"id":28425340,"url":"https://github.com/profcomff/autotests","last_synced_at":"2025-06-26T04:30:48.010Z","repository":{"id":293345281,"uuid":"983741021","full_name":"profcomff/autotests","owner":"profcomff","description":"Autotests for our project","archived":false,"fork":false,"pushed_at":"2025-05-14T21:07:59.000Z","size":7,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T10:50:32.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profcomff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-14T21:00:42.000Z","updated_at":"2025-05-14T21:08:02.000Z","dependencies_parsed_at":"2025-05-14T22:29:45.549Z","dependency_job_id":null,"html_url":"https://github.com/profcomff/autotests","commit_stats":null,"previous_names":["profcomff/autotests"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/profcomff/autotests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fautotests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fautotests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fautotests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fautotests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profcomff","download_url":"https://codeload.github.com/profcomff/autotests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fautotests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262001162,"owners_count":23243009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-05T10:37:02.149Z","updated_at":"2025-06-26T04:30:47.983Z","avatar_url":"https://github.com/profcomff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Автотесты\n\nЭтот репозиторий служит фундаментом для написания автотестов с использованием Playwright и Pytest, с возможностью интеграции с Kiwi TCMS.\n\n## Структура проекта\n\n-   `requirements.txt`: Список зависимостей проекта.\n-   `settings.py`: Глобальные настройки проекта с использованием Pydantic.\n-   `tests/`: Директория для всех тестов.\n    -   `tests/conftest.py`: Файл для общих фикстур Pytest.\n    -   `tests/test_example.py`: Пример базового теста с Playwright и фикстурой.\n    -   `tests/rating/`: Директория для тестов API рейтинга.\n        -   `tests/rating/test_lecturer.py`: Тесты для эндпоинтов преподавателей API рейтинга.\n-   `kiwi_integration/`: Директория для интеграции с Kiwi TCMS.\n    -   `kiwi_integration/kiwi_client.py`: Базовый клиент для взаимодействия с Kiwi TCMS API.\n\n## Установка зависимостей\n\nРекомендуется использовать [виртуальное окружение](https://docs.python.org/3/library/venv.html) для управления зависимостями проекта.\n\n1.  **Создайте виртуальное окружение** (если оно еще не создано) в корневой директории проекта:\n\n    ```bash\n    python -m venv venv\n    ```\n\n2.  **Активируйте виртуальное окружение**:\n\n    *   На macOS и Linux:\n\n        ```bash\n        source venv/bin/activate\n        ```\n\n    *   На Windows (Command Prompt):\n\n        ```bash\n        venv\\Scripts\\activate.bat\n        ```\n\n    *   На Windows (PowerShell):\n\n        ```bash\n        venv\\Scripts\\Activate.ps1\n        ```\n\n3.  **Установите зависимости** из `requirements.txt`:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\nПосле установки зависимостей Playwright также требует установки необходимых браузерных бинарников. Выполните:\n\n```bash\nplaywright install\n```\n\n## Запуск тестов\n\nДля запуска всех тестов в проекте, находясь в корневой директории, выполните:\n\n```bash\npytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fautotests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofcomff%2Fautotests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fautotests/lists"}