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
- Convenient Test::More-like methods you can write wrappers around
- Already debugged and all the hard parts done for you
Test libraries built on Test::Builder will work together
Test::Exception, Test::Class, Test::MockObject, Test::Inline,
Test::Mail, Test::More, Test::Simple...
Prev | toc