What problem does it solve?
It helps you prevent regressions in Perl applications by teaching practical, repeatable testing strategies for building reliable test suites and validating behavior early.
Core Features & Use Cases
- Modern assertions with Test2::V0: Write clearer subtests and more informative deep comparisons than legacy patterns.
- Prove-driven test execution: Organize tests in a standard structure and run them efficiently for local development and CI.
- Mocking and coverage for accountability: Replace flaky external dependencies with mocks and measure coverage using Devel::Cover.
- Test-Driven Development (TDD): Apply RED-GREEN-REFACTOR to go from failing tests to minimal implementation and then improve design.
Quick Start
Use the perl-testing skill to design a TDD workflow for a Perl module by writing a failing test first, then implementing the smallest change to make it pass, and finally running it with prove to confirm behavior stays correct.