Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

[SOLVED] Test:: fail when output file was changed

by jahero (Pilgrim)
on Jan 18, 2019 at 09:05 UTC ( #1228713=perlquestion: print w/replies, xml ) Need Help??

jahero has asked for the wisdom of the Perl Monks concerning the following question:

Dear fellow monks.

I think that some time ago I have seen somewhere information about a package on CPAN (in a blog post I think), which could be used in testing, and which:

  • by default failed, when named output file was changed
  • could run in such a mode, that it would "remember" current state of the file (if the change was intentional), which would prevent further fails (until next change)

Imagine you are programmatically creating complex structured text, and want to be able to "keep it fixed" in you tests - unless you know that the change is "for the better"

Is my memory playing tricks on me? Are you aware of such library? I hope that what I vaguely described above makes sense.

Unfortunately, mu Google-fu is not advanced enough to yield the answer.

Regards, Jan


Update: change the title, answer is in comments below.

  • Comment on [SOLVED] Test:: fail when output file was changed

Replies are listed 'Best First'.
Re: Test:: fail when output file was changed
by choroba (Cardinal) on Jan 18, 2019 at 10:12 UTC

      I think thats exactly it. Thank you for pointing me in the right direction (damned, it was SO obvious when thinking back)!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1228713]
Front-paged by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2023-02-03 17:35 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (28 votes). Check out past polls.