in reply to Re^2: TAP test question
in thread TAP test question

Another matter would be to test that the list of subs corresponding to the :all label matches some expected values. How do I do that?

You can look at the symbol table (see perlmod for details) and see if all the expected symbols were exported.

But I advice against it, because then you have to maintain the list of what :all means in two places, and repetition is your biggest enemy when writing and maintaining software.

Replies are listed 'Best First'.
Re^4: TAP test question
by Your Mother (Archbishop) on Jun 04, 2008 at 18:49 UTC
    repetition is your biggest enemy when writing and maintaining software

    Thank you for saying that. Being unable to convince some folks of its veracity makes me crazy sometimes and seeing it out of the blue from a capable hacker just restored some sanity.