Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Re-Write Django tests with pytest | pytest fixtures & test functions

Автор: BugBytes

Загружено: 2024-04-15

Просмотров: 5113

Описание:

In this video, we'll re-write Django tests using the pytest framework, and will explore the tools provided by pytest and the pytest-django plugin when working with Django applications.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:37 pytest intro
01:36 Writing pytest functions
02:23 pytest-django ‘settings’ fixture
04:42 pytest-django ‘client’ fixture
05:53 Creating pytest.ini configuration file
07:36 Disabling logging with Pytest autouse fixture
08:58 Testing when maintenance mode is off

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/
🐦 Twitter:   / bugbytesio  

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
pytest: https://docs.pytest.org/en/8.0.x/
pytest-django: https://pytest-django.readthedocs.io/...
Overriding Settings with pytest: https://pytest-django.readthedocs.io/...
pytest-django assertions: https://pytest-django.readthedocs.io/...

#python #django #webdevelopment

Re-Write Django tests with pytest | pytest fixtures & test functions

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Pytest. Необходимый минимум.

Pytest. Необходимый минимум.

Writing Maintenance Mode Middleware in Django (with tests)!

Writing Maintenance Mode Middleware in Django (with tests)!

Сочетаем расширения pytest для эффективного тестирования Django-приложений

Сочетаем расширения pytest для эффективного тестирования Django-приложений

8 мощных функций Pytest, о которых вы не знали

8 мощных функций Pytest, о которых вы не знали

InstantSQL in duckDB UI

InstantSQL in duckDB UI

Pytest | Django | Представляем Fixtures и Fixture Factory

Pytest | Django | Представляем Fixtures и Fixture Factory

Написание вашего первого теста Django с использованием pytest-django

Написание вашего первого теста Django с использованием pytest-django

Django & HTMX App - Custom Managers | pytest & factory-boy for unit tests

Django & HTMX App - Custom Managers | pytest & factory-boy for unit tests

Using PyTest to Write Beautiful Tests and a Bulletproof Django App

Using PyTest to Write Beautiful Tests and a Bulletproof Django App

Pytest | Django | Представляем Factory Boy и Faker — Замена креплений

Pytest | Django | Представляем Factory Boy и Faker — Замена креплений

Вышел Django 6! Поддержка задач, политики безопасности контента (CSP) и многое другое!

Вышел Django 6! Поддержка задач, политики безопасности контента (CSP) и многое другое!

Environment-based Settings in Django Projects | django-environ | Setup for local/production/testing

Environment-based Settings in Django Projects | django-environ | Setup for local/production/testing

4. Django REST Framework - Testing with Pytest + Fixtures

4. Django REST Framework - Testing with Pytest + Fixtures

Testing APIs with Django REST Framework

Testing APIs with Django REST Framework

Django Admin Actions - Writing Custom Actions for the Django Admin

Django Admin Actions - Writing Custom Actions for the Django Admin

Towards Parametrizing Fixtures and Test Functions

Towards Parametrizing Fixtures and Test Functions

Writing Django Middleware (with tests!) | HTMX middleware | IP Blacklist middleware

Writing Django Middleware (with tests!) | HTMX middleware | IP Blacklist middleware

Pro Django - Учебник 7 - pytest

Pro Django - Учебник 7 - pytest

Django Model Properties & Methods | @property decorator | get_absolute_url() method

Django Model Properties & Methods | @property decorator | get_absolute_url() method

Django Interview Questions (Junior Developer)

Django Interview Questions (Junior Developer)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]