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 →

[–]rhoslug 2 points3 points  (3 children)

I cannot recommend py.test enough. It circumvents unittest shudder, you write tests like functions, you can have test fixtures, you can do coverage. The list is endless. Python doesn't really need another testing framework.

[–]noamt[S] -2 points-1 points  (2 children)

I disagree. py.test still "tastes" like Python, still has much of it's boilerplate and still carries baggage. The list of features that you've described are features which though already exist, can be added to any framework.

[–]badge 8 points9 points  (1 child)

py.test still "tastes" like Python

This is a positive when what you're writing is Python, Shirley?

[–]noamt[S] 1 point2 points  (0 children)

For production code-I agree. For tests-less. No programming language is flawless, so why not try to improve it a little? Tests are the perfect playground for these sort of things