3 ms·
That's why you write a test suite and check that your test suite covers all code, using Devel::Cover.
by Mithaldu 13y ago
That's why you write a test suite and check that your test suite covers all code, using Devel::Cover.
- ape4 13y agoThanks I didn't know about that. Of course I used a test suite. But checking that all functions actually exist (in my case some had been renamed) is something you should not have to manually write.
- Mithaldu 13y agoWell, the idea is that your test suite should cover ALL code you have, so you don't have to check all your functions. Devel::Cover helps you by clearly marking code your tests don't run in red, so you know where you need to add tests and don't need to go through manually.