DEV Community

Discussion on: What components do you use to do TDD with Python?

Collapse
 
rebeccaskinner profile image
Rebecca Skinner

I don’t practice TDD, but for testing python I’ve been using unittest along with MyPy. MyPy is a huge help in writing good working code and I can’t recommend it enough. It’s very very very far from perfect but it’s also light years ahead of the frustrating buggy mess of trying to write completely untyped code.

Collapse
 
portfield10 profile image
portfield

Thank you for your valuable feedback!

I am a python beginner.
I didn't know Mypy, so it was helpful. Thank you again.

I am trying to verify TDD with reference to the unittest code created by my colleague.
If there are advantages to using pytest, I will change to pytest.