Andy Armstrong writes:

> Michael Peters wrote:
> 
> > Why can't you just use test names?
> > 
> >   ok($is_ok, 'HTML nested bullet list, open tags (bug 5497)');
> 
> You certainly could - but I tend to think of them as descriptions
> rather than names and therefore not entirely ideal as the primary key.
> I don't really want to be forced not to change a description because
> I'll break the test system if I do.

In the above surely "(bug 5497)" is sufficient as the primary key; the
rest of the text could change.

So this system could be made to work for anybody who has a bug database
and consistently labels tests with them -- which obviously isn't
everybody, but it might not be an excessive requirement for those who
want the tracking feature.

Actually you don't even need for the external database to exist, so long
as you include the unique bug IDs somewhere in the description.  You
just need to pass to the tracker the pattern that matches your format of
IDs from the descriptions; for the above example that'd be:

  qr/\(bug \d+\)/

Smylers

Reply via email to