filmov
tv
Writing automated tests for Python command-line apps and scripts

Показать описание
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.
See examples of how these techniques are implemented in the project I show in the video:
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:
* * *
FREE Python Tutorials & News:
Writing automated tests for Python command-line apps and scripts
How To Write Unit Tests For Existing Python Code // Part 1 of 2
Python Tutorial: Unit Testing Your Code with the unittest Module
Unit Testing in Python using unittest framework - Basic Introduction and How to Write Tests
How To Automate Unit Testing In Python - Write Unit Tests In Seconds
Software Testing Explained in 100 Seconds
Pytest Tutorial – How to Test Python Code
Chat GPT integration with QA Test Automation Framework with Python
Selenium & Java Automation Day 1 Video On 13th August 2024.
Lab Instrument Automation with Python
Automate your job with Python
Test-Driven Development In Python // The Power of Red-Green-Refactor
Automating My Life with Python: The Ultimate Guide | Code With Me
Automated Testing in Python with PLAYWRIGHT + PYTEST
How To Write Unit Tests in Python • Pytest Tutorial
Python TDD Workflow - Unit Testing Code Example for Beginners
Unit Testing in Python
Python Fundamentals: Web Automation Testing Using Selenium 2
Automating Pentesting With Python - A Real Example
API Testing using Python - Write Test Case - in Pytest Format(Check Description for Complete Course)
Test Automation Using Python | Selenium Webdriver Tutorial With Python | Selenium Training | Edureka
How To Write Unit Tests For Python Code | How To Implement Unit Tests In Python Easily
AI Testing in Kubernetes | Writing Python Unit Tests with ChatGPT
Automated Testing in Python with pytest, tox, and GitHub Actions
Комментарии