Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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
Domain Nodelet?
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 imbibing at the Monastery: (2)
As of 2021-08-04 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (41 votes). Check out past polls.

    Notices?