Re: How to specify a data file location for tests

2011-03-08 Thread Zbigniew Lukasiak
I think I solved this now by adding the missing dependency on Plack::Middleware::Session. It's used only in the app.psgi file - so Dist::Zilla did not find it automatically. The reports now are all green confirming that this was the problem: http://cpantesters.org/distro/P/Plack-Middleware-Auth-F

Re: How to specify a data file location for tests

2011-03-05 Thread David Christensen
On 03/05/2011 12:15 AM, Zbigniew Lukasiak wrote: On Fri, Mar 4, 2011 at 4:57 PM, David Cantrellwrote: On Fri, Mar 04, 2011 at 09:16:14AM -0500, Shawn H Corey wrote: On 11-03-04 01:54 AM, Zbigniew Lukasiak wrote: my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); I thought the tests were

Re: How to specify a data file location for tests

2011-03-05 Thread Zbigniew Lukasiak
On Fri, Mar 4, 2011 at 4:57 PM, David Cantrell wrote: > On Fri, Mar 04, 2011 at 09:16:14AM -0500, Shawn H Corey wrote: > > On 11-03-04 01:54 AM, Zbigniew Lukasiak wrote: > > >my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); > > I thought the tests were done in the t directory. If so, then

Re: How to specify a data file location for tests

2011-03-04 Thread David Cantrell
On Fri, Mar 04, 2011 at 09:16:14AM -0500, Shawn H Corey wrote: > On 11-03-04 01:54 AM, Zbigniew Lukasiak wrote: > >my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); > I thought the tests were done in the t directory. If so, then the file > its looking for would be: t/t/app.psgi Nope. The

Re: How to specify a data file location for tests

2011-03-04 Thread Zbigniew Lukasiak
On Fri, Mar 4, 2011 at 3:16 PM, Shawn H Corey wrote: > On 11-03-04 01:54 AM, Zbigniew Lukasiak wrote: > >> my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); >> > > I thought the tests were done in the t directory. If so, then the file its > looking for would be: t/t/app.psgi > Yeah - ju

Re: How to specify a data file location for tests

2011-03-04 Thread Shawn H Corey
On 11-03-04 01:54 AM, Zbigniew Lukasiak wrote: my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); I thought the tests were done in the t directory. If so, then the file its looking for would be: t/t/app.psgi -- Just my 0.0002 million dollars worth, Shawn Confusion is the first

How to specify a data file location for tests

2011-03-03 Thread Zbigniew Lukasiak
Hello, I keep getting reports like this one: http://www.cpantesters.org/cpan/report/8824a82a-45ea-11e0-afb0-adca6bb533f3: Cannot find 't/app.psgi': No such file or directory at t/main.t line 9. Lines 8 and 9 of t/main.t are: my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); my $app = do $