Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: code duplicate in tests -- code or custom module only needed to test

by 1nickt (Canon)
on Dec 06, 2018 at 13:09 UTC ( [id://1226845]=note: print w/replies, xml ) Need Help??


in reply to code duplicate in tests -- code or custom module only needed to test

Hi,

(I see # hide from CPAN indexer can some elaborate this?).

Suppose you end up doing as suggested and add a test module to your distro. Maybe you want to update your tests from time to time but not release a new version of the distro. You can push files to PAUSE and avoid having them indexed as a new version if you either:

  • Put a linebreak in your package declaration, like:
    package Foo::Bar;
  • Use the no_index directive in your META.yml or META.json file.
For more, see https://github.com/andk/pause/blob/master/doc/operating-model.md section 3.5.

Hope this helps!


The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found