Media Summary: today I talk through why I think pytest-cov is unnecessary and a little annoying. - today I talk about the `cat` command -- and that it's almost always unnecessary! playlist: ... xargs is by far one of the most useful commandline tools I know -- I teach the main things you need to use it so you can look like a ...

What Is Coverage Intermediate Anthony - Detailed Analysis & Overview

today I talk through why I think pytest-cov is unnecessary and a little annoying. - today I talk about the `cat` command -- and that it's almost always unnecessary! playlist: ... xargs is by far one of the most useful commandline tools I know -- I teach the main things you need to use it so you can look like a ... and I actually went a bit further after recording! (it now can reorder all of pre-commit faster than `isort` can import!) - pretty python ... probably the most asked question on my channel -- what are those funny @ signs! I explain a simple decorator, a decorator factory ... today I walk through why I banned `assertRaises` in tests at work as well as an alternative that doesn't have this pitfall ...

today I talk about the approach I take to gradual typing in python -- I don't bother with tests (and why)! - intro to typing / mypy: ... I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes! - what's new in python 3.11: ... today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! playlist: ... today I talk about the differences between two common buffering strategies and how it affects both `python` and `grep` -- and why I ... today I talk about an extremely common mistake with python warnings -- and what I wish the default behaviour was - the warning ... today I talk about how to test optional dependencies! In this example I go over how to add an optional configuration loader and ...

today I give a small demo of test driven development using pytest and talk a little bit about when I like to use it to work on things! I build out a simple skeleton for a command line interface in python and show how to test it with pytest! thanks to PanosTrak for the ... I realize I've talked a lot about pytest on the channel, but never given it a proper introduction! - testing a cli with pytest: ... today I go over all the options and use cases for fixtures in pytest! - testing a commandline with pytest: ... today I go over short-circuit evaluation and how you can use it to avoid errors as well as some tricks for (ab)using logical ... today I talk about python doctests, how you can write and run them (including with pytest!) - what is the underscore for?

today I talk about all the different types of statuses that a pytest test can have! I also explain my rationale for using xfail vs skip ...

Photo Gallery

what is coverage? (intermediate) anthony explains #480
I don't use pytest-cov (intermediate) anthony explains #489
don't use cat! (intermediate) anthony explains #508
all about xargs ! (beginner - intermediate) anthony explains #200
how I made my import sorter 7x faster (intermediate) anthony explains #457
python @decorators - (intermediate) anthony explains #002
why I banned python's assertRaises (intermediate) anthony explains #451
opinion: don't bother typing tests (intermediate) anthony explains #347
assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435
are your python tests even running? (intermediate) anthony explains #438
line buffering vs. block buffering (intermediate) anthony explains #285
python warnings defaults suck (intermediate) anthony explains #486
Sponsored
Sponsored
View Detailed Profile
Sponsored
Sponsored