Step 5 - Pytest tutorial: Jump To Error

preview_player
Показать описание

Writing code means writing broken code. Click a link in a traceback to open a file on the line of the error.

00:00 - Start
00:11 - Refactor first class into a dataclass
00:36 - Same for second class
00:55 - Show TDD benefit of static typing
01:17 - Write a (failing) test for the new "add_guardians" feature
01:49 - Do the implementation that makes test pass
02:11 - Jump directly to a line with an error
02:39 - Improve the type hinting to prevent a problem
03:05 - Show the problem being detected and "failing faster"

Рекомендации по теме
Комментарии
Автор

someone please help, i just received this error and i dont know what it means after i ran pytest. TypeError: required field "lineno" missing from alias

johndoe-lzfo
join shbcf.ru