Python unit testing - skip/selectively run tests in pytest

Python unit testing - skip/selectively run tests in pytest

codebasics

7 лет назад

41,893 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

엘리콩
엘리콩 - 24.12.2021 20:59

Thank you so much for this video! Have one question though. In skipif condition, why you use (3,5) not 3.5 to express python version 3.5? Why does it have to be in tuple?

Ответить
Shivasiddharth Narayanan
Shivasiddharth Narayanan - 20.04.2020 20:58

Can multiple properties be assigned on a test function ? Say I want to tag a test function as both mac,windows? Please let know...Thanks codebasics...!!

Ответить
Akkineni Ajay
Akkineni Ajay - 19.06.2019 05:31

Awesome video. Clearly explained the motivation behind markers by starting off with skip tests and testing based on a string in the function. Thanks.

Ответить
Tejaswani Vedula
Tejaswani Vedula - 11.05.2019 14:02

Why do we have a Red underline for the name of the file imported in the test file? (i.e underline to the keyword 'mathlib' at the line "import mathlib")?

Ответить
thirumala reddy
thirumala reddy - 28.09.2018 12:27

Thanks sir .
Please upload.
Unittest, threading, logging mthods also

Ответить
Aparna Bose
Aparna Bose - 13.07.2018 08:22

great videos

Ответить
Jonathan De wet
Jonathan De wet - 17.01.2018 10:16

Great video. Thank You

Ответить
MikeZ
MikeZ - 29.09.2017 03:23

I am running python 3.5 on windows 10 and I have python folder on the system path. When I run c:\python>pytest
I get 'pytest' is not recognized as an internal or external command. Please help. Thanks.

Ответить
ulfen69
ulfen69 - 02.08.2017 23:31

I gave up learning nosetest because of lack of tutorials. I switched to Pytest when I found these tutorials.

Ответить
D T
D T - 31.05.2017 02:09

Video is great but didn't you missed "custom markers".

Ответить
Tim Eggenberger
Tim Eggenberger - 06.04.2017 16:32

Thanks dude, great vid, Koul!

Ответить
naitik gala
naitik gala - 01.04.2017 12:59

nice tutorial

Ответить
Julio
Julio - 28.02.2017 12:47

I'm a big fan of your videos!

Ответить
Mubarak L
Mubarak L - 14.02.2017 21:48

Really i must say thanks for your simple way of teaching. Love your videos. It would be really helpful if you could make videos on advanced concepts like framework for Selenium with python using pytest framework.

Ответить
Ons Mribah
Ons Mribah - 04.02.2017 23:58

Simple and clear. Keep up the good work!

Ответить
Amir Othman
Amir Othman - 23.01.2017 21:07

shit man, this video deserves more views.

Ответить