
Install Python 3 on Windows 10 using the executable installer, customize installation to a chosen path, enable pip and idle, and verify with Python in the terminal and command prompt.
Learn to install Python 3 on macOS, upgrade from the legacy Python 2.7, download Python 3.6.4, install via the installer, verify with Python 3, and run hello world.
Install PyCharm community edition on Windows 10, download from JetBrains, run the installer, and set up the IDE; then create a new Python project, write hello world, and run it.
Install PyCharm community edition on mac, download from JetBrains and set up, then create a hello world Python project, write a print statement and run it to see the output.
Master using pip to install, search, list, and uninstall Python packages from the Python package index, then verify installations by importing packages like Flask.
Install and manage pip packages in PyCharm by using the project interpreter and the plus button to install OpenCV Python, then import it and run the code.
Learn the basics of python unit testing with pytest, writing tests for add and product, using test_ prefixes and assertions, and installing and running pytest with pip.
Learn how to use pytest options to run selective tests, including -k, -m, -x, --maxfail, and -s, with skip and skipif decorators.
Demonstrates parameterizing tests with pytest.mark.parametrize to test a function with numbers, strings, and floats, reducing duplication and validating expected results.
Learn to use pytest fixtures to manage setup and teardown, replacing repeated initialization with a module-scoped fixture that returns a DB instance and uses yield for teardown.
Install the pytest package in PyCharm, switch the default test runner to pytest, and run tests from a file or individual tests to see results and verbose output.
py.test is an alternative, more Pythonic way of writing your tests.
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.
pytest is a mature full-featured Python testing tool that helps you write better programs. Learn Pytest basic functionality, Setup & Tear Down, Fixtures.
Beginning with a brief introduction and setup of Pytest. We will see How to install pytest, Using Options with Pytest, Parameterizing tests (pytest.mark.parametrize), pytest fixtures + setup/teardown methods, Using PyCharm to run pytest tests.
The best part is, the overhead for creating unit tests is close to zero!
Take this course now online Python course and master your skill!
ENROLL NOW