Perl module testing
Included in v0.0.20
Background
check-spelling is built around some small perl blobs.
Eventually, the shell script that drives it may also be converted into a perl script...
Testing coverage would make it easier to make changes to check-spelling and have confidence that they don't break things.
Perl modules
The first step is splitting the perl scripts into tiny .pl
wrapper scripts and a similarly named .pm
module file.
Testing
Using Test::More
gives basic test coverage for the tiny files.
It also provides a roadmap for more test coverage.
Future steps
I might try Devel::Cover
FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts