[TIP] Using one unit test with different input parameters

Jonathan Lange jml at mumak.net
Tue Jul 22 22:14:23 PDT 2008


On Wed, Jul 23, 2008 at 2:28 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> "Jonathan Lange" <jml at mumak.net> writes:
>
>> The source of my frustration [with tests identified by docstring
>> synopsis] is the inability to quickly locate a failing test.
>
> Huh? When a test fails, I get a full traceback including exactly where
> in the test module the assertion was made. I've never needed either of
> the synopsis nor the test name to find the failing test in the module.
>
> Do you see something different?
>

I see the same thing.

I still maintain that seeing the fully-qualified Python name of the
test in the run actually helps me, particularly for runs involving
more than a few screen-fuls of tests.

jml



More information about the testing-in-python mailing list