Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Using Test::MockObject

by TStanley (Canon)
on Jun 10, 2007 at 02:37 UTC ( [id://620237]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Test::More tests=>4;
    use Test::MockObject;
    ...
    
    can_ok($module,'generate');
    $gq->generate;
    
  2. or download this
    tstanley@perlmonk ~/modules/Games-QuizTaker $ make test
    PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "t
    +est_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    ...
    Failed 1/5 test programs. 1/18 subtests failed.
    make: *** [test_dynamic] Error 255
    tstanley@perlmonk ~/modules/Games-QuizTaker $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://620237]
Approved by shigetsu
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found