DEV Community

Discussion on: What is your one piece of advice or best tip for getting better in Python programming?

Collapse
 
elfosardo profile image
Riccardo Pittau

Learn to build good tests, especially using unittest, and how to use mock.

Collapse
 
rosejcday profile image
Rose Day

Oh cool! I have been working on that this week actually.

Collapse
 
epogrebnyak profile image
Evgeny Pogrebnyak

Especially using pytest, I would say, and avoiding mocks as much as you can to enable learning about dependency injection. )