Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati

  • EuroPython Conference
  • 2025-10-27
  • 98
Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati
europythonpythonconference
  • ok logo

Скачать Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

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

Cкачать музыку Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati

[EuroPython 2025 — Terrace 2A on 2025-07-17]
🎤 Fixtures meets parameters: Writing efficient, elegant and reusable tests by Anupama Tiruvaipati
🔗 https://ep2025.europython.eu/session/...

📝 Abstract:
We’re all familiar with pytest fixtures. They’re invaluable for setting up environments before each test run, tearing them down afterward, and providing essential data for test execution. They introduce modularity and reusability to tests, ensuring consistency across multiple runs. Similarly, pytest’s parametrize annotation allows us to run the same tests with various input permutations and combinations. Together, fixtures and parametrize form a powerful toolkit for creating clean, maintainable, and scalable test suites. 

Now, let’s consider a common engineering scenario: migrating from an old API to a new one. The outputs of the two APIs remain the same, but the inputs differ. Tasks like refactoring and deprecating older APIs are part and parcel of every engineer’s job. So, how can we make this migration easier?

While core business logic often needs thoughtful redesign, our focus here is on tests, particularly unit tests. Pytest parametrize can help us run tests with different inputs, while fixtures simplify setup and teardown. But what if we could go a step further? Instead of writing entirely new tests for the new API, what if we could reuse existing tests?

In this talk, I’ll demonstrate how to enhance test reusability, simplify test management, and streamline test cleanup by passing pytest fixtures as parameters to existing tests and seamlessly upgrading existing tests to cover workflows and scenarios for both old and new APIs. Attendees will learn to write more efficient and elegant tests by leveraging the power of pytest!

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: https://creativecommons.org/licenses/...

Комментарии

Информация по комментариям в разработке

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

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

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