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 PROTECTED]
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to