News for hackers. Stuff that matters.
Re:TDD django Tutorial by treo on Monday May 28, 2012 @05:02PM (#4034915)
Your tests, or the output they produce, look awesome. Can you elaborate on your setup? Just today I was looking for an up to date introduction for testing in django, but could only find some older blog posts. So I would be glad if you could detail your setup a bit.
Re:TDD django Tutorial by igorgue on Tuesday May 29, 2012 @12:00AM (#4035912)
I'll write it and let you guys know :-)

I've basically been following some Ruby people for the last couple of months - and worked at a Ruby shop myself last year - they happen to know a lot more about testing than us, pythonistas, but hey, it's very good to learn, at least Mock being included into Python3 is a step in the right (well that depends what camp are you in) direction.

Re:TDD django Tutorial by StavrosK on Monday May 28, 2012 @06:15PM (#4035152)
The first one looks like nose with coverage, and the second like pinocchio with coverage. There are various ways to get those running with Django, but yes, a blog post would be nice.

Just don't get all caught up in 100% test coverage, it's not very useful. You should test edge cases that run the same code more than obvious cases that run new code.