Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Inheriting Tests and Other Test Design Issues

by Zaxo (Archbishop)
on Sep 27, 2003 at 00:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://294578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-23 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found