From the Test::More documentation I learned about use_ok() and require_ok() test functions. They recommend to use them as follows:
BEGIN { use_ok('Some::Module') }
BEGIN { ...some code that depends on the use... }In the case of failure to 'use' some module test will report it. Is there any way (or need?) to do something similar with Test::Unit? Say, I want to test my class methods, but the whole module is broken. I will get standard perl compile error in that case?
Regards, Dmitry.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Perlunit-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/perlunit-users
