[Catalyst] t directory hierarchy

Matt S Trout dbix-class at trout.me.uk
Wed Aug 15 16:43:28 GMT 2007


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

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/                    http://www.shadowcat.co.uk/ 



More information about the Catalyst mailing list