44:50Google Antigravity: Hands on with our new agentic development platform
Google for Developers
Take your Python project to the next level of professionalism. Automated testing in Python is an important way to take your Python project to the next level of dependability and professionalism. There are a lot of steps, but it's not too difficult to setup your tests to run automatically across multiple different operating systems and versions of Python whenever you push a commit or receive a pull request on your repository. We show you the entire process, step by step, to take a plain old project and turn it into an installable package with automated tests that run when you push to GitHub. We use pytest, mypy, and flake8 for testing, type checking, and code linting. Then we use tox to run all of these commands in isolated virtual environments. Finally, we use GitHub actions to run tox on a push or a pull request. Automated testing is the first and most important step in the more general world of continuous integration (CI), and continuous delivery or continuous deployment (CD). In this video we focus on automated testing, not on general CI/CD, as there is already PLENTY of material to cover. ― mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/SlapThatLikeButton-TestingStarterProject Other code: https://github.com/mCodingLLC/VideosSampleCode pytest docs: https://docs.pytest.org/en/latest/ mypy docs: https://mypy.readthedocs.io/en/stable/index.html flake8 docs: https://flake8.pycqa.org/en/latest/ setuptools (setup py and setup cfg) do
Published 2021-09-11 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
44:50Google for Developers
10:02
04:49
42:17
09:22
04:41
27:35Google for Developers
Allow Google Analytics to measure visits. Your history stays in your browser. Privacy details