Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It puzzles me that there is no dedicated chapter on testing.


It's sorely needed. Unit testing for django is not very well documented. The best guide I've found out there is probably by Daniel Lindsley @ toastdriven.[0] However, even that guide suggests using fixture data which break badly as a project grows (I've experienced this first hand), so I'd much prefer a factories based testing chapter.[1]

[0]: http://toastdriven.com/blog/2011/apr/10/guide-to-testing-in-... [1]: https://pycon-2012-notes.readthedocs.org/en/latest/testing_a..., http://pyvideo.org/video/699/testing-and-django


Thanks for [1]. It has some good points.


[1] is great - thanks a lot!


Pull requests gladly accepted.


there is a chapiter on testing in the official doc which is quite good. And i'm sure you can make a contribution so everybody can enjoy your expertise on the matter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: