Thread Testprobleme: Bad plan
(7 answers)
Opened by Kuerbis at 2013-09-02 17:24
Hallo!
Warum sagt der Test-Report für den Test t/00-load.t: "Bad plan. You planned 1 tests but ran 0." trotz des use_ok testes? Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 #t/00-load.t: use Test::More tests => 1; BEGIN { use_ok( 'Term::Choose::Win32' ) || print "Bail out!\n"; } diag( "Testing Term::Choose::Win32 $Term::Choose::Win32::VERSION, Perl $], $^X" ); Quote |