For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2005 > t/ framework









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author t/ framework
Manish Sapariya

2005-03-31, 8:55 am

Hi there,
I frequently come across this "module uses the t/ framework".

What its all about?
What functionality does it provide?

Thanks,
Manish
John W. Krahn

2005-03-31, 8:55 am

Manish Sapariya wrote:
> Hi there,


Hello,

> I frequently come across this "module uses the t/ framework".
>
> What its all about?
> What functionality does it provide?


perldoc ExtUtils::MakeMaker::Tutorial

t/ Tests for your modules go here. Each test filename ends with a .t.
So t/foo.t. 'make test' will run these tests. The directory is
flat, you cannot, for example, have t/foo/bar.t run by 'make test'.

Tests are run from the top level of your distribution. So inside a
test you would refer to ./lib to enter the lib directory, for
example.



John
--
use Perl;
program
fulfillment
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com