Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Test::Unit related query

by Khen1950fx (Canon)
on Jan 15, 2013 at 18:34 UTC ( #1013440=note: print w/ replies, xml ) Need Help??

in reply to Test::Unit related query

I took a look at it for you.

First, I installed it via CPAN---no problems. make, make test, and make install passed with no problems: however, when I went to double-check it with pmload, pmload couldn't find it.

Second, I looked at the prerequiste list---it seemed to be missing a few modules. Here's my list of prerequisites. Run it, and if it works, cool. If it doesn't work---then you'll understand why people regret choosing it.

#!/usr/bin/perl BEGIN { $| = 1; $^W = 1; $ENV{'HARNESS_TIMER'} = 1; $ENV{'TEST_POD'} = 1; $ENV{'TEST_POD_COVERAGE'} = 1; } use strict; use warnings; use CPAN; CPAN::Shell->install(qw( Exporter Carp base DB_File List::Util File::Spec Test::Distribution Test::Portability::Files XSLoader File::Path AutoLoader IO::Handle constant Test::Harness Test::More Data::Dumper Encode Pod::Man Test Text::Wrap Pod::Escapes Pod::Simple ExtUtils::MakeMaker Time::HiRes ExtUtils::Constant Perl::OSType File::Temp Text::ParseWords Locale::Maketext::Simple Module::Load Locale::Maketext Module::Load::Conditional version Locale::Maketext::Lexicon Params::Check Module::Metadata IPC::Cmd ExtUtils::CBuilder Socket Test::Pod Pod::Coverage Devel::Symdump Test::Pod::Coverage Class::Inner Error Test::Unit));

Comment on Re: Test::Unit related query
Select or Download Code
Re^2: Test::Unit related query
by Anonymous Monk on Jan 15, 2013 at 18:46 UTC
    Thanks all of you guys! I get that Test::Unit is not a good choice. From all various package names I see posted here, please show me a small working example where I have a test suite which has 2 or three test cases and a test runner and reporting tool. Also I need to know, are there different extensions formats for any of the above (like .t or specifically having .lib folder to store all testsuite files etc). This will exactly solve my problem of visualizing what you all are talking about.
    Thanks for all the responses!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013440]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-08-29 13:43 GMT
Find Nodes?
    Voting Booth?

    The best computer themed movie is:

    Results (280 votes), past polls