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
885
11
TAKE THIS COURSE