Re: [Apache-dispatch-devel] Fwd: SF.net SVN: apache-dispatch: [50]trunk
Brought to you by:
geoffrey_young,
phred_moyer
|
From: Fred M. <fr...@ta...> - 2006-08-12 21:12:02
|
> substitute these for
>
> use Apache::Test qw(:withtestmore);
I did this but I had to
use Apache::Test qw(ok plan :withtestmore );
or it complained when it got to
plan tests => 4, need_lwp;
because it didn't recognize plan unless it was explicitly imported. This
is with Apache::Test 1.28, Test::More 0.62, all tests passing.
> anyway, I hope this helps clear things up a bit. I'm happy to work on
I just made all these changes with revision 51. This revision makes
things a lot cleaner, and I've got a better understanding of Apache::Test
now. I ran the following [1] test scenarios by removing the appropriate
dependencies, all tests are passing, let me know what you think Geoff.
[1]
---------------------------
No mod_perl.c
mp1 =>
t/all....skipped
all skipped: cannot find module 'mod_perl.c'
mp2 =>
t/all....skipped
all skipped: cannot find module 'mod_perl.c'
---------
No Apache::Test
mp1 => sorry, cannot run tests without a properly
configured Apache-Test environment
mp2 => sorry, cannot run tests without a properly
configured Apache-Test environment
--------------
Apache::Test 1.28, No Apache::Filter
mp1 =>
t/01plain.....ok
t/02extras....ok
t/03filter....skipped
all skipped: You need Apache::Filter to run this test
t/04oo........ok
All tests successful, 1 test skipped.
mp2 =>
t/01plain.....ok
t/02extras....ok
t/03filter....skipped
all skipped: Filtering not yet implemented in Apache2::Dispatch
t/04oo........ok
-------------------
Apache::Test 1.28, Apache::Filter 1.024 installed
mp1 =>
t/01plain.....ok
t/02extras....ok
t/03filter....ok
t/04oo........ok
All tests successful.
mp2 =>
t/01plain.....ok
t/02extras....ok
t/03filter....skipped
all skipped: Filtering not yet implemented in Apache2::Dispatch
t/04oo........ok
|