Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Test runner that acts like a test and can be run as one

by cxw (Scribe)
on Apr 02, 2020 at 18:31 UTC ( #11114959=note: print w/replies, xml ) Need Help??


in reply to Test runner that acts like a test and can be run as one

Not knowing the details of your tests, I'm not sure if this is directly applicable. However, I can tell you about something similar I've done. In my Class::Tiny::ConstrainedAccessor, I need to run the same tests against about five different upstream modules. I put the tests in a common module. I then have a separate *.t file for each upstream module (each test condition). Each *.t file loads the common module and the upstream module, then passes the upstream to the test runner in the common module (example). The common module does not have a test plan or a done_testing() call, so it fits seamlessly into the framework provided by the *.t file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2022-12-05 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?