Blog archive: Quality & standards

Django unit testing gotcha: test case methods run in alphabetical order

After a good few hours of increasing frustration, I managed to work out why the Django unit tests I was working on were doing funny things. As it turns out, the individual test case methods are, by default, sorted alphabetically by the TestLoader.

This is worth knowing if you're testing things that rely on the tests being run in order, such as creating, editing and deleting of records in the database.

Continue reading »

BBC raps Amex over web accessibility

The 5 April 2008 edition of Radio 4's "Money Box" program had a segment about the problems a blind user has been having when he tries to access his American Express credit card statements online. Apparently, the problem started in December 2007 when Amex switched statement format from HTML to PDF.

Continue reading »

Quantifying scope creep by code analysis

I gave StatSVN a whirl after Alistair recommended it a while back. It's a nifty tool that analyzes Subversion repositories and returns aggregated statistics and graphs. All very interesting and great stuff for a left-brain dominant stats obsessive like me. However, it was recently very useful in helping me convince a client that their change control requirements were maybe going too far.

Continue reading »

© 2019 Associative Trails Ltd. 4m@