Using Python’s own unittest package, here’s a small script that can iterate over your test suite to output a small, quick, nice list of the tests in your application:
import unittest
loader = unittest.TestLoader()
tests = loader.loadTestsFromName(’path.to.your.tests.package’)
for test in tests._tests:
print test._tests[0].__class__.__name__.replace(”Test”, “”)
for method in test._tests:
[...]
Django · How to? · Quality
Add Your Comment (2)
Version: 1.0
Author: Adrian Kosmaczewski
Date: March 8th, 2008
Tools: Keynote
Presentation: barcamppdf.zip
Licence: Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported
This is a presentation I’ve given at the second Lausanne BarCamp. It gives a brief overview of the biggest problems caused by software glitches, and some simple steps to avoid it in our day-to-day projects. Olivier liked the presentation and [...]
Whatever
Comments Off
Django has a nice support for unit and functional testing; however, its django.test.client.Client class does not support PUT and DELETE requests, which might be useful if, like me, you’re doing some kind of REST implementation using that framework. There’s an open ticket about it, but for the time being, here’s my wrapper that supports those [...]
Django · How to?
Add Your Comment (3)
Those who read my blog know that I tend to write about software quality issues fairly often; particularly about open spaces and my aversion against them :)
I thought it was time to group all those entries into a Wordpress category of its own: “Quality”. Feel free to check the articles in there, and of course, [...]
Quality
Add Your Comment (2)
Introduction
Total Quality Management is one of the founding pillars of modern mass-production economy, of which the software industry is by far the youngest (and most rebel) child. This article will provide a short discussion on some TQM principles and about their applicability to software projects.
Papers · Project Management · Quality · Software
Add Your Comment
Introduction
I strongly consider that the following three items are of high relevance for software project quality:
Developer workplace conditions
Tracking data of past projects
Management commitment to quality
In this article I will give an overview of them, providing some personal experience about each.
Quality
Add Your Comment (2)
I am subscribed to quite a few podcasts and screencasts here and there. And I’ve come up with a very basic (albeit limited and you could even say irrational) way of determining which to keep listening and which to throw away immediately:
The quality of the material… and the voice of the speaker.
I’m not Pavarotti nor [...]
Opinion · Ruby on Rails
Add Your Comment (2)