Tests #24

Merged
Derinhelm merged 10 commits from tests into develop 2021-04-28 23:02:35 +03:00
3 changed files with 5 additions and 1 deletions
Showing only changes of commit fdd40d4592 - Show all commits

View File

@@ -56,5 +56,5 @@ docker-compose exec web python manage.py makemigrations backend
Для запуска тестов использовать
```bash
docker-compose exec web python manage.py test
docker-compose run web pytest --cov=backend
```

3
backend/.coveragerc Normal file
View File

@@ -0,0 +1,3 @@
[run]
omit =
backend/migrations/*

View File

@@ -1,4 +1,5 @@
pytest==6.2.3
pytest-cov==2.11.1
djangorestframework==3.12.4
django-filter==2.4.0
markdown==3.3.4