Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

[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 (Archbishop) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2022-07-04 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?