Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Wrapping Test::More assertions in Test::More utility classes?

by tobyink (Abbot)
on Sep 25, 2012 at 16:43 UTC ( #995592=note: print w/replies, xml ) Need Help??

in reply to Wrapping Test::More assertions in Test::More utility classes?

You're on the right track with Test::Builder. You are right that Test::Builder doesn't use Test::More. In fact, the inverse is true: Test::More is based on Test::Builder.

Take a look at, say, Test::Warn and see how it uses Test::Builder to create a set of extra testing keywords that plays nicely with Test::More.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: Wrapping Test::More assertions in Test::More utility classes?

Replies are listed 'Best First'.
Re^2: Wrapping Test::More assertions in Test::More utility classes?
by silkybones (Initiate) on Sep 26, 2012 at 14:29 UTC
    Thanks, I'll look at that.

    Also, so it seems like creating the type of object I mention actually works to my surprise. I'll assume for now that creating more than one of these objects, in different threads for example, might confuse Test::More. We'll see. I'll post here with updates.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995592]
[Corion]: thezip: Yeah - we have "CAP", but that means "Change Ablauf Plan" (Change Sequence Plan). Likely there is a true ITIL name for this too.
[Corion]: While I'm not really a fan of ITIL, it certainly is better than nothing and it at least provides a common vocabulary, so if you have ITIL somewhere at your disposal, it might be worth a look
[Corion]: Hmm - that should be somewhere in the "Release Deployment Plan", but I don't find a good English link (nor a good German one ;) )
[thezip]: My project manager is asking "Why do we need this?" Ahem...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-02-23 17:55 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (350 votes). Check out past polls.