Pumping Python for Beginners: How I make a Python Test Driven Development environment

Опубликовано: 12 Июль 2024
на канале: Jacob Itegboje
128
like

Are you spending more time configuring your Python projects than actually coding? What if you could build a complete, professional Test-Driven Development environment with a single command, saving you from the tedious manual setup forever?

Welcome to Pumping Python, my name is Jacob Itegboje and in this video, I’m going to show you exactly how to do that. First, we'll walk through the manual setup so you understand every component, from creating the right folder structure to initializing the unittest framework. Then, the real magic happens: we'll transform that entire process into a single, powerful automation script. You'll learn the core Test-Driven Development (TDD) workflow, including the Red-Green-Refactor cycle, and how to supercharge it by automatically running tests on file changes with pytest-watch. By the end, you'll have a reusable script that builds your entire TDD environment in seconds.

00:10 - Requirements
00:51 - Windows Requirements
01:35 - First Steps: Installing Python 3 & venv
01:38 - Linux requirements
02:38 - Building the Project Structure (Source & Test Folders)
05:50 - Writing Your First FAILING Test (Red)
11:20 - Making Your First Test PASS (Green)
12:45 - Automate Tests with pytest-watch
21:15 - Create the Automation Script
28:30 - Make Your Script Dynamic for ANY Project
30:19 - Create the Automation Script for Windows without WSL
36:10 - Run the Script!
38:45 - Review

   • Pumping Python for Beginners: How I make a...  

https://www.pumpingpython.com/how_to/...
https://www.pumpingpython.com/code/ma...
https://www.pumpingpython.com/code/ma...

Requirements
Python https://www.python.org/downloads/
Visual Studio Code https://code.visualstudio.com/download
PyCharm https://www.jetbrains.com/pycharm/dow...
Sublime Text https://www.sublimetext.com
Other Integrated Development Environments https://wiki.python.org/moin/Integrat...

Watch the rest of Pumping Python    • Pumping Python  
Watch the rest of the How To Videos    • how tos  


На этой странице сайта вы можете посмотреть видео онлайн Pumping Python for Beginners: How I make a Python Test Driven Development environment длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Jacob Itegboje 12 Июль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 128 раз и оно понравилось like зрителям. Приятного просмотра!