Greetings
A module that I submitted on 06-Jan, Class::AutoDB, is making very
little headway in the tester network. I was hoping for the usual
rapid avalanche of test reports, because I wanted to get feedback from
the network to guide me in improving the build and test process for
the module; this module does two things I've not done in previous
submissions: it has an XS, and the tests require access to a MySQL
database.
To deal with the MySQL dependency, I adapted a technique from one of
the email lists for having Build.PL check whether the tests could
access the database and exit(0) if not. Based on the reports I see so
far (http://static.cpantesters.org/distro/C/Class-AutoDB.html), I
messed up by not putting the DBI connect in an eval to catch the error
if DBD::MySQL is not installed. I will fix this and resubmit the
module, but wonder if there are other changes I should make to avoid
getting stuck in the mud again.
It has been suggested that I use Test::Database and use whatever
drivers are available on the test site. Unfortunately this release is
tied to MySQL, not for any deep reason, but because that's what I use
in my "day job". I plan to expand to other DBMSs (SQLite, at least),
but I want to get this release out first, because it fixes some
important bugs, before adding major new functionality.
The FAILs indicate that the XS couldn't load: I'm hoping this is a
misconfiguration on the tester site, but as this is the only platform
that made it past the build, this is pure speculation. I am planning
to email the tester directly to see if s/he can shed some light.
I appreciate any advice you can offer.
Best,
Nat