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

Скачать или смотреть Writing automated tests for Python command-line apps and scripts

  • Real Python
  • 2017-05-03
  • 36296
Writing automated tests for Python command-line apps and scripts
dbaderpythontestingcommand-linemockingpython unittestpython-trickpytestmock.patchmypytesting python command line parametercli automation pythontest argparselearn pythonpython tutorialpython programmingpython cli app structure
  • ok logo

Скачать Writing automated tests for Python command-line apps and scripts бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Writing automated tests for Python command-line apps and scripts или посмотреть видео с ютуба в максимальном доступном качестве.

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

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

Cкачать музыку Writing automated tests for Python command-line apps and scripts бесплатно в формате MP3:

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

Описание к видео Writing automated tests for Python command-line apps and scripts

https://dbader.org/python-tricks ► Write clean and testable Python command line apps and learn by example

Two techniques for writing automated tests for your Python command-line applications and scripts.

In this video you'll see how to structure the entry points of your Python command-line scripts in order to make them easier to test with unit and integration tests using Python's unittest library.

You'll also learn how to use "mocking" and the @mock.patch decorator in the unittest library to put functions that have side-effects on the filesystem under test.

See examples of how these techniques are implemented in the project I show in the video:

https://github.com/dbader/photosorter

This project gives you a blueprint for writing testable Python scripts and shows you how to run these tests on a build server (Jenkins, TravisCI, CircleCI, ...) using the pytest test runner.

Interested in the mypy type checker and the Python type annotations that appear in the video? This tutorial will help you get set up:

   • Type-Checking Python Programs With Type Hi...  

FREE COURSE – "5 Thoughts on Mastering Python" https://dbader.org/python-mastery

SUBSCRIBE TO THIS CHANNEL: https://dbader.org/youtube

* *

► Python Developer MUGS, T-SHIRTS & MORE: https://nerdlettering.com

FREE Python Tutorials & News:
» Python Tutorials: https://dbader.org
» Python News on Twitter:   / @dbader_org  
» Weekly Tips for Pythonistas: https://dbader.org/newsletter
» Subscribe to this channel: https://dbader.org/youtube

Комментарии

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

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

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

video2dn Copyright © 2023 - 2025

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