Python Test frameworks - Unittest & Pytest

preview_player
Показать описание
Learn basics of unittest & pytest. With a simple example, I have explained how to use unittest and pytest. A bit of pytest fixtures are also discussed. We have covered setup, teardown, yield, etc.
Рекомендации по теме
Комментарии
Автор

You should follow Python coding style convetions

RafaganAbreu
Автор

Hi, thank you for explaining these concepts, I only have one doubt - in unittest we use unittest.testsuite to create our testsuite, then how can we build testsuite in pytest, what is the alternative for unittest.testsuite in pytest??

vikramdhoke
Автор

Thanks man for the tutorial! I still don't understand how in 11:12 your Pytest ran without calling its functions. I tried that on my machine with Pytest installed but no tests ran... and "import pytest" is still in grey...

noursidaoui
Автор

i am able to follow until generating the allure report in that folder
but i can't open the report like you do: "allure serve ." is throwing error, that 'allure' is unknown command
can u help?

banderilllero
join shbcf.ru