I'm working on a Perl module that has a lot of XS code and also uses Dist::Zilla
to manage packaging. What's the best way to test things efficiently? I know about dzil test
, but that's pretty slow because it does a full build/compile/test cycle every time it's invoked.
It would be nice to only update the parts that need updating since last test, and also to be able to run only certain t/*.t
test scripts rather than all of them. Anyone have a solution that they like?
I have, in the past, just taken a Build.PL/Makefile.PL as generated by dzil and dropped it into the source repository as a "Makefile_dev.PL" (or "Build_dev.PL"), added it to MANIFEST.SKIP (or the dzil-based, generated equivalent) and used it during development.