[Catalyst] Organize tests in sub-directories

Tomas Doran bobtfish at bobtfish.net
Wed Nov 25 10:00:37 GMT 2009


On 24 Nov 2009, at 20:31, Octavian Râşniţă wrote:
> I would like to structure the t directory as lib/MyApp is  
> structured. Is it possible to be able to configure the app somehow  
> so `make test` checks all the test files even if they are in sub- 
> directories?

Yes, you just say something like:

tests 't/*.t', 't/*/*.t', 't/*/*/*.t'; # However many levels deep you  
need

in Makefile.PL

Cheers
t0m





More information about the Catalyst mailing list