Didn't have any idea of what code coverage was until I searched for it on KZbin, stumbled on this video and watched it... This is a purely practical and self explicit video... Thank you...
@flaaq29703 жыл бұрын
that's exactly what I was looking for, thanks a lot
@remy333 Жыл бұрын
Thanks so much for this.
@sbcode Жыл бұрын
Wow thanks. I never had one of these super thanks things before. Very cool.
@alexandre90514 жыл бұрын
Thanks Sean! Video explains it quite clearly with a simple example anyone can understand, even a Java Dev like me! Two thumbs up!
@elijah-ondiek2 жыл бұрын
Fantastic. The tutorial is simple and well explained.
@sivr5vs385 жыл бұрын
This is ASMR video?)
@AmineOnline4 жыл бұрын
if it is it will be the best because it let you learn something.
@FahmiEshaq4 жыл бұрын
Hahaha
@gilnux5 жыл бұрын
Great video! Very well explained in less than 12 minutes. Good job!
@maneeshdani96324 жыл бұрын
Thank you, I have made my first program and test case in python using vs code Thank you for that, It is really helpful..
@siddhantkumar9492 Жыл бұрын
Great work!
@marcoaguirre69782 жыл бұрын
Thank you so much, this will be helpful in a project that I'm working on.
@geodev3 жыл бұрын
Really great content. I love the way you described😃
@jatingera084 жыл бұрын
Very good explanation of the python code tests with coverage. Hope I can use this in Django API as well.
@sbcode4 жыл бұрын
This has nothing to do with Django.
@vinaybhardwaj1003 жыл бұрын
To the point, tutorial. 👍👍👍
@Володимир-п6й Жыл бұрын
thx, it was a very useful video.
@Hanson-e4m Жыл бұрын
thanks for tutorial provided, very usefull
@samgdotson5 жыл бұрын
This is a great walkthrough tutorial. Especially showing the evolution of testing methods. I would just add that using decorators affects the accuracy of your code coverage. A decorated function will not run directly, thus you will have missing lines inside your function, even if your assertions pass.
@nedbatchelder3 жыл бұрын
I don't see how this is true. The body of the function will be run, even through a decorator, and will be measured as run.
@2mahender2 жыл бұрын
Do we need to install venv, and swtich to it..for executing this code, just vscode, can i execute directly?
@TheBarunchand3 жыл бұрын
you have a great Voice. I liked the video
@venkatamanideepgrandhi23382 жыл бұрын
It is a wonderful simple explanation 🙂
@llllpavle4 жыл бұрын
In my code, doesn't work pytest --cov = app. I have error like this "ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] "
@sbcode4 жыл бұрын
It works for me, it works every time. Copy what i do in the video. -cov=app should have no spaces around the = Where did you get the spaces from?
@czarnick2 Жыл бұрын
How can your final example be 100% test coverage if you aren't testing the factorial n==0 case? The code coverage example would've reported lower than 100. That info would be super helpful
@sbcode Жыл бұрын
are you saying I lied, and faked the results? Good for you, you've foiled my elaborate plan. I've now fixed my video for you, watch it again and tell me what you think. But before you watch it again, try to imaging what factorial(1) does. Clue, factorial is a recursive function.
@czarnick2 Жыл бұрын
Wow, thanks for the stealth edit to the video! 😅 missed that the coverage report marked that line covered - I was watching your video because I had a return path that wasn’t covered and I thought it should’ve been (thought maybe the coverage calculation stopped after a few layers)
@thattech4774 жыл бұрын
Great video, very efficient style
@SimpleLangSolution3 жыл бұрын
God bless you my good Sir.
@deepneon3 жыл бұрын
I had to zero down the BASS nob on my speaker man !!
@aravindm6812 жыл бұрын
Sir, regarding pytest coverage, you are using comand like 'pytest --cov=app.py. I have used same concept in my program but it show warning: no data found. I have analysed after two weeks the app name shoud be give in the command like test_app.py. 🤐🤐. Then the output as expected. I have helped this chat for Some of the blind people 😉.
@kshitijgupta6444 жыл бұрын
Great explanation!! Thank you
@jhoanmartinezsilva2609 Жыл бұрын
Amazing
@durgaprasadsriramoji51113 жыл бұрын
pytest-cov is not recognised in my venv in pycharm
@sbcode3 жыл бұрын
You will need to install it in your venv
@MUTHARAJUKK5 жыл бұрын
Excellent sir ...
@amirhosseinmoayedi62053 жыл бұрын
thank you
@HoaPham-rg8rm4 жыл бұрын
thank u
@siyuancheng95754 жыл бұрын
Great Voice
@sbcode4 жыл бұрын
Thanks
@2mahender2 жыл бұрын
can u give github code link
@sbcode2 жыл бұрын
All the instructions are in the description. There is hardly any code to type. The GitHub repo, would have less information than this video and its description. I wont be doing your learning for you
@4chewbaca9424 жыл бұрын
oi mate! you have loicence for this coiding?
@sbcode4 жыл бұрын
what, do I need a licence to code now. are you a coppa or something. Are you gonna tell on me. Sorry, I don't have a license to code. Guilty your honour.
@afonsosalbrecht Жыл бұрын
who are you trying to seduce with these voice?? 🤣🤣 super awkward!
@Ahmad_Elsaadi3 жыл бұрын
yo back off the mic a little lol
@sbcode3 жыл бұрын
hey, I fixed my video for you. can you watch it again and tell me what you think