Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Inheriting Tests and Other Test Design Issues

by Zaxo (Archbishop)
on Sep 27, 2003 at 00:31 UTC ( #294578=note: print w/replies, xml ) Need Help??


in reply to Inheriting Tests and Other Test Design Issues

I think you will need to be fairly explicit about which tests you import. You might fail superclass tests of an overridden function, or simple ctor tests which may have the namespace hard coded, not anticipating this kind of use.

Do you have a mechanism to obtain the superclass's tests? Most module installations don't install their test suite to the system, but only run it from the build directory, blib'ed. If installed from CPAN, the source tarball is around in somebody's .cpan directory, but another user may not be able to see it.

After Compline,
Zaxo

  • Comment on Re: Inheriting Tests and Other Test Design Issues

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://294578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-03-28 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (167 votes). Check out past polls.

    Notices?