Re: [Catalyst] Organize tests in sub-directories

2009-11-26 Thread Ian Docherty
Tomas Doran wrote: 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 so

Re: [Catalyst] Organize tests in sub-directories

2009-11-25 Thread Octavian Râşniţă
From: "Wallace Reis" On 25/11/2009, at 09:36, Octavian Râşniţă wrote: This is good news. But unfortunately it executes only the tests from the t directory, not those from its subdirectories. I have tried to put this line of code in more places in Makefile.PL with no difference. You can us

Re: [Catalyst] Organize tests in sub-directories

2009-11-25 Thread Wallace Reis
On 25/11/2009, at 09:36, Octavian Râşniţă wrote: > This is good news. But unfortunately it executes only the tests from the t > directory, not those from its subdirectories. > > I have tried to put this line of code in more places in Makefile.PL with no > difference. You can use tests_recursiv

Re: [Catalyst] Organize tests in sub-directories

2009-11-25 Thread Octavian Râşniţă
From: "Tomas Doran" 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

Re: [Catalyst] Organize tests in sub-directories

2009-11-25 Thread Tomas Doran
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: t

[Catalyst] Organize tests in sub-directories

2009-11-24 Thread Octavian Râşniţă
Hello, 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? `prove -r -l t` can do this, but it works well only under Linux or if I also add t