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
> But I can't run it using
>
> perl script/myapp_create.pl model MyModel MyHelper
>
> because myapp_create.pl doesn't add the local lib to @INC so it can't find
> it.
>
>
Have you tried:
perl -Ilib script/myapp_create.pl model MyModel MyHelper
___
List:
From: "Tomas Doran"
Octavian Râşniţă wrote:
because myapp_create.pl doesn't add the local lib to @INC so it can't find
it.
Why would you want the helper in your application? I can't think of any
task where an app-specific helper would be any use..
I just wanted to test locally a new version
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
Octavian Râşniţă wrote:
because myapp_create.pl doesn't add the local lib to @INC so it can't
find it.
Why would you want the helper in your application? I can't think of any
task where an app-specific helper would be any use..
Cheers
t0m
___
Lis
Octavian Râsnita wrote:
Is there any tutorial for using Moose roles in Catalyst?
http://search.cpan.org/~flora/Catalyst-Runtime-5.80014/lib/Catalyst/Upgrading.pod#Moose_features
http://search.cpan.org/~hkclark/Catalyst-Manual-5.8002/lib/Catalyst/Manual/CatalystAndMoose.pod
http://search.cpan.
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
From: "Eden Cardim"
"Andrew" == Andrew Rodland writes:
Andrew> For the sake of sanity, what you need to do is stop
Andrew> inheriting from a concrete controller. It really doesn't
Andrew> make a lot of sense and there are a lot of ways it could
Andrew> break something. As Moritz w
Hi,
I've created in MyApp/lib the module
MyApp/lib/Catalyst/Helper/Model/MyHelper.pm
But I can't run it using
perl script/myapp_create.pl model MyModel MyHelper
because myapp_create.pl doesn't add the local lib to @INC so it can't find
it.
Is there any reason the local lib is not added to
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
> "Andrew" == Andrew Rodland writes:
Andrew> For the sake of sanity, what you need to do is stop
Andrew> inheriting from a concrete controller. It really doesn't
Andrew> make a lot of sense and there are a lot of ways it could
Andrew> break something. As Moritz writes, if you
11 matches
Mail list logo