in reply to Testing test function
G'day sedusedan,
"I'm wondering if someone can point me to some simpler examples of testing a Test::Builder-based test function."
You ask for "simpler examples" but you don't indicate simpler than what. The EXAMPLES section of the Test::Builder documentation says: "CPAN can provide the best examples. Test::Simple, Test::More, Test::Exception and Test::Differences all use Test::Builder.". Are you looking for simpler examples than these? There are links to dozens of tests in the Test::Simple MANIFEST. Have you looked at those?
"I glanced at Test::More's tests once a while back and decided not to do it yet because they looked pretty hairy."
I'm not sure whether you're referring to the tests documented in Test::More or the tests written in t/More.t (or, possibly, something else). Perhaps start with Test::Tutorial. You can always ask here if there's something specific you're having problems with.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing test function
by sedusedan (Pilgrim) on Sep 26, 2013 at 11:22 UTC | |
by choroba (Cardinal) on Sep 26, 2013 at 11:32 UTC | |
by sedusedan (Pilgrim) on Sep 27, 2013 at 06:18 UTC |