Essentially the TestCase will name the fixture. That's pretty easy to understand.
The cool part is this: each test method is a two-part clause: condition_"should"_result or "when"_condition_"then"_result.
Or possibly "method_state_behavior".
What a handy way to organize test cases. Only took me four years to figure out how important this kind of thing is.
[Updated to follow moved links.]
[Updated to follow moved links.]
Have you tried the spec plugin for nose? It gives you a really good understandable output for nosetests:
ReplyDeletehttp://darcs.idyll.org/~t/projects/pinocchio/doc/#spec-generate-test-description-from-test-class-method-names