background image
<< Domain Specific Test Libraries | Passing Tests Should PASS >>
<< Domain Specific Test Libraries | Passing Tests Should PASS >>
Test::Builder
Test::Builder
Usually you want Test::More's general functions + domain
specific ones.
Unfortunately, sometimes test libraries don't play well together
Who owns the test counter?
Who prints the plan?
Test::Builder is a single backend to solve that problem.
Singleton object to handle the plan and the counter
Test::More-like methods you can write wrappers around
Test libraries built on Test::Builder will work together.
Test::Exception, Test::Class, Test::MockObject,
Test::Inline, Test::Mail, Test::More, Test::Simple
Attend "Writing A Test Library" for more information