So what am I gonna do? 

./t/apache-testrun.sh whatever.t Apache::MyModule htdocs
#!/bin/bash
#
# Assumes app_root/t/
#                  lib/
#                  docroot/    

TEST=$1
RESPONSE_HANDLER=$2
DOCUMENT_ROOT=$3

TOP_DIR=/tmp/apache-test
T_DIR=$TOP_DIR/t
T_CONF_DIR=$T_DIR/conf
LIB_DIR=$TOP_DIR/lib

mkdir -p $T_CONF_DIR
mkdir -p $LIB_DIR

basedir=`dirname $0 | sed -e "s!^\\.!$PWD!"`/..
docroot="$basedir/$DOCUMENT_ROOT";
testdir="$basedir/t";
libdir="$basedir/lib";

cp $testdir/$TEST       $T_DIR
cp $testdir/APACHE_TEST $T_DIR
cp -r $libdir/Apache    $LIB_DIR

#PerlSwitches -wT -Mlib=@DocumentRoot@/../lib
cat > $T_CONF_DIR/extra.conf.in <<EOF

PerlOptions +Parent +Autoload +ParseHeaders +MergeHandlers
PerlSwitches -wT -Mlib=$libdir

PerlModule Apache::DBI

<Location />
        SetHandler modperl
        PerlResponseHandler $RESPONSE_HANDLER
</Location>
EOF

export PERL5LIB=$libdir
cd $TOP_DIR
./t/APACHE_TEST -verbose -documentroot $docroot $TEST

# Cleanup
rm $docroot/index.html