I've recently been playing around with the nose testing framework for Python. It's pretty slick! With the various hooks for plugins, one can make it work pretty much however one wants. And what I especially like is support for generators. However, even with all this power, giving a meaningful name to each generated test is less than straightforward. Here are a few approaches that work.
Search
About
You are viewing the weblog written and developed by Waylan Limberg, where he shares his various hair-brained thoughts with the world. You'll also find random bits of code he's managed to con into working from time to time. [more...]
Latest
- Syntax Highlighting on the Web
- Python-Markdown Tutorial Part 2: Changing Bold and Italics
- Python-Markdown Tutorial Part 1: Adding InlinePatterns Insert and Delete
- Nosetests, Generators and Descriptions
- Git, Interactive Rebase and Ubuntu
- Installing multiple versions of Python on Ubuntu from Source
- Announcing Django-SpamBayes
- The Go By Bike Challenge
- Reviewing Markdown -- A Response
- Installing VirtualBox Binaries on a Ubuntu 7.10 (Gutsy Gibbon) Host
Tags
- achinghead.com (9)
- anti-spam (1)
- automobile (3)
- bicycles (6)
- Clipless Glove (2)
- css (7)
- django (3)
- electronics (1)
- git (1)
- hacks (2)
- hardware (2)
- html (3)
- linux (3)
- markdown (11)
- miscellaneous (12)
- mountain-biking (2)
- network (1)
- phones (4)
- prostetics (2)
- python (15)
- Python Nose (1)
- security (1)
- syntax highlighting (1)
- testing (1)
- Ubuntu (3)
- VirtualBox (3)
- waylan (4)
- winter (1)
