i'm using Apache-Test as reference for my (greatly
simplified) wombat test harness. i can't figure out how you
ensure that tests are run in a specific order, or even if
you are. certainly you're not in the case where you build a
list of tests using finddepth. have you addressed this issue
at all?
oh wait, i guess i could use a series of dependency targets
in the Makefile:
run_tests: test_1 test_2 test_3
test_1:
$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) t/TEST dir1
test_2:
$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) t/TEST dir2
test_3:
$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) t/TEST dir3
can anybody think of a better way to do it, other than using
dir and file name prefixes? brainstorm time!
btw, Apache-Test is really cool! i'm trying to decide if it
would be worth my time to figure out how to generalize it so
that you don't have to use it with httpd/mod_perl at all.
for wombat, i'd ideally be able to:
1) run a set of white box tests that instantiate each class
and test each method
2) run a set of black box tests for each connector that fire
up a server and make client requests. so if the user has
mod_perl installed, run a httpd much like you're doing now;
if he has fastcgi installed, run httpd and fastcgi; if he
has lwp installed, run a standalone wombatd; etc.
obviously each set of tests in #1 and #2 has its own setup
and teardown requirements, so Apache-Test would have to be
generalized quite a bit.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]