EuroDjangoCon Talk: Testing Django

Just got off the stage at EuroDjangocon, which was my first real talk in front of the Django Community. I hope that people enjoyed it, and that it was informational. Here are the slides to my talk in PDF Form, and on slideshare.

I hope that people have questions or constructive feedback, and I'd love to hear what everyone thought. I will be writing a full writeup at the end of the conference, but I'll say that it has been amazing thus far!




Comments

1 Almad says...

Actually, I disagree so much which a lot of your django testing statements that I have to return to blogging ;)

Posted at 1:17 p.m. on May 5, 2009

2 Eric Holscher says...

Awesome! Being wrong and being corrected is the best way to learn. Looking forward to what you have to say on the subject.

Posted at 1:32 p.m. on May 5, 2009

3 Paolo Corti says...

nice presentation, i enjoyed ;D

Posted at 2:11 p.m. on May 5, 2009

4 Yuri van der Meer says...

Thanks! I've been following your "debugging" series, and this testing looks very interesting as well. Were any audio/video recordings made of your presentation?

With regards to testing, the main problem I had in my most recent Django project, was maintaining the test fixtures for the 20+ model classes. (I didn't have a chance to look into testmaker yet)

For me, it made sense to try and separate fixtures into at least three categories:

  1. Common data: shared across all users (initial_data.json)
  2. Test-data: specific for unit tests
  3. "Demo" data: (optional) data for demonstrating the app to the client (or end users).

Any thoughts on organizing and maintaining fixtures?

Posted at 3:08 p.m. on May 5, 2009

5 Jacob Kaplan-Moss says...

Yuri: yup, the talks were recorded, and Murphy willing will be released online.

Posted at 11:14 p.m. on May 5, 2009

6 汇率网 says...

Looking forward to the videos!

Posted at 2:21 a.m. on May 6, 2009

7 Justin says...

I'm looking forward to the video as well.

I'd be interested in a post about the continuous integrations and the green dashboard. :)

Posted at 10:16 a.m. on May 6, 2009

8 Keyton Weissinger says...

Eric,

Thank you very much for sharing this presentation. I look forward to the audio/video. Thanks, too, for your tireless perseverance in helping all us django-folks test, test well, and test reliably. I know it is a thankless job so I wanted to say it:

Thank you.

Keyton

Posted at 5:46 p.m. on May 6, 2009

9 David says...

The thing I am looking for in python is something like factory-girl to save us from fixture hell. It has really been a blessing in my ruby projects but I cant seem to find a python equivalent.

Posted at 6:35 p.m. on May 6, 2009

10 slavus says...

Nice presentation. It is good to see presentation with how to test Django apps. I didn't know Django Test Utils, I am going to look into, it looks very usefull. My major problem is that I don't know what to test, becasue rapidly changing code and templates.

Posted at 9:28 a.m. on May 12, 2009

Comments support markdown

Comments are closed.

Comments have been close for this post.