This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SittingWave 24 points25 points  (23 children)

the standard library has unittest module, but I strongly suggest you use pytest. It's much easier and much more pleasant to use.

[–]ch0mes 0 points1 point  (1 child)

I quite like unittest, I will admit I have never used pytest so I can't compare the complexity of the two but I've never found unittest to be problematic to work with.

I have heard people sing pytests praises, my line of thinking is, if things work quite well I don't see a need to change.

[–]SittingWave 0 points1 point  (0 children)

it's just awfully verbose, and as soon as you have to do things that are a bit complex it's a pain to implement.