[Catalyst] t directory hierarchy

Ian Docherty catalyst at iandocherty.com
Thu Aug 16 18:30:04 GMT 2007


Jason Kohles wrote:
>     On Aug 15, 2007, at 11:43 AM, Matt S Trout wrote:
>
>> On Wed, Aug 15, 2007 at 11:27:14AM +0100, Ian Docherty wrote:
>>> Hi
>>> I have been using Catalyst for some time with a 'flat' test directory,
>>> with all test scripts in the same directory.
>>>
>>> The main reason for this is that when I do
>>>
>>> $ make test
>>>
>>> It does not recurse into the sub-directories and only runs test scripts
>>> in the 't' directory.
>>
>> That's the default behaviour. To add subdirs, put
>>
>> tests('t/*.t t/*/*.t');
>>
>> in your Makefile.PL
>>
> Or, if you have a recent version of Module::Install, just use:
>
> tests_recursive;
>
> --Jason Kohles
> email at jasonkohles.com
> http://www.jasonkohles.com/
> "A witty saying proves nothing."  -- Voltaire



More information about the Catalyst mailing list