What problem does it solve?
This Skill eliminates the friction of writing inconsistent, low-coverage Perl tests by providing standardized, modern testing workflows and best practices for Perl developers.
Core Features & Use Cases
- TDD Workflow Guidance: Step-by-step red-green-refactor cycle for Perl feature development, ensuring tests are written before implementation.
- Modern Testing Patterns: Comprehensive examples for Test2::V0 assertions, prove runner commands, and Test::MockModule usage for dependency isolation.
- Coverage & Quality Tools: Instructions for integrating Devel::Cover to track test coverage and identify untested code paths.
- Use Case: A Perl developer building a new CPAN module can use this Skill to set up a test suite, write passing tests following TDD, and verify 80%+ code coverage before release.
Quick Start
Use the perl-testing skill to write a failing test for your new Perl module's add function, implement the minimal code to pass the test, and run the full test suite with prove -lv.