Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Basic tests for "Add tests" issue #3 #16
The tests are broken down into subtests which group the major errors, actions and subroutines into common units.
There are a number of commented tests that could be fixed to hit edge cases and increase the branch and conditional coverage.
Devel::Cover reports the following:
These tests only cover the basics, but should be a good start for issue #3.
It's a nice start, but there are significant issues with it:
In the big picture, a lot of things are much more testable when actually interacting with the filesystem in a tempdir. A lot of these tests don't truly test the effects of the operations, only side-effects.