Changes for version 0.48 - 2026-11-11

  • Enhancements
    • Generated harnesses check that each call leaves the caller's globals ($_, $/, $, and $;) unmodified
    • Generated harnesses report files left in the working directory and leaked file descriptors (new config keys check_files and check_fds)
    • Getter and getset accessors are checked for unwanted changes to their object's state (new config key check_accessors)
    • extract-schemas marks classes whose constructor refuses (e.g. abstract base classes) as unbuildable, so their routines are skipped, not FAILED
    • New "directory" semantic: a parameter tested with -d is given a real temporary directory rather than an invented string
  • Bug fixes
    • CoverageGuidedFuzzer: coverage guidance now works; the program must be started under Devel::Cover
    • CoverageGuidedFuzzer: a die on a hashref input with properties is now recorded as a bug
    • CoverageGuidedFuzzer: corpus files are read and written as UTF-8
    • CoverageGuidedFuzzer: soft-bug warnings are also caught under Devel::Cover
    • BenchmarkGenerator: names and constructor values are quoted and escaped, so the generated script always compiles
    • BenchmarkGenerator: no longer dies on input: undef, and an undef parameter spec is passed as undef
    • SchemaExtractor: recognise get/set accessors that guard on defined($arg) rather than on @_
    • SchemaExtractor: a getter driven by %ENV is no longer typed as a getset accessor
    • SchemaExtractor: a setter that wraps its argument before storing it is typed "any", not "string"
    • SchemaExtractor: a return built from a regex capture ($1) is no longer typed as an integer
    • SchemaExtractor: a wrapper that forwards @_ inherits the target's input schema and is no longer typed as returning an arrayref
    • SchemaExtractor: matches patterns are emitted as Regexp objects, not slash-delimited strings
    • SchemaExtractor: a parameter used only in a truthiness test is optional
    • SchemaExtractor: ignore validator schemas built from runtime lexicals, which gave "Empty input parameter name"
    • Harness: scalar _input cases are now passed to a positional routine
    • Harness: integer edge cases no longer expect very large "floats" to die or "0x10" and "1_000" to be accepted
    • Harness: numeric getset round trips are compared with ==, not eq
    • Harness: a getter that declares no input is called with no arguments
    • Harness: wrong-type cases are only generated when the routine's own validator enforces the type
    • deploy-workflows: the embedded dashboard.yml and mutate.yml had fallen behind the master copies
    • Modules needed by a generated harness (Test::Most, Test::Returns, Test::LectroTest) are now runtime prerequisites; added Capture::Tiny to the test prerequisites

Documentation

Generate Benchmark harnesses from ATG schema files
Demonstrate the schema extractor
Deploy ATG GitHub Actions workflows to a CPAN module repository
Extract test schemas from Perl modules
Generate fuzzing + corpus-based test harnesses from test schemas
Generate round-trip tests from POD code examples
Test coverage dashboard generator
Run mutation testing against a Perl test suite

Modules

Fuzz Testing, Mutation Testing, LCSAJ Metrics and Test Dashboard for Perl modules
Generate Benchmark harnesses from ATG schemas
AFL-style coverage-guided fuzzing for App::Test::Generator
Serialise a test plan to YAML
Static LCSAJ extraction for Perl
Merge LCSAJ path data with runtime hits
Evidence-based model of a single method under test
Negate boolean return expressions to expose missing assertion coverage
Replace return expressions with undef to expose missing undef-return checks in the test suite
Generate and apply mutation tests
Extract runnable code examples from a Perl module's POD
Example module for schema extraction testing
Extract test schemas from Perl modules
Template for the test files generated by App::Test::Generator
Debugger backend for LCSAJ coverage

Provides

in lib/App/Test/Generator/Analyzer/Complexity.pm
in lib/App/Test/Generator/Analyzer/Return.pm
in lib/App/Test/Generator/Analyzer/ReturnMeta.pm
in lib/App/Test/Generator/Analyzer/SideEffect.pm
in lib/App/Test/Generator/Emitter/Perl.pm
in lib/App/Test/Generator/Mutant.pm
in lib/App/Test/Generator/Mutation/Base.pm
in lib/App/Test/Generator/Mutation/ConditionalInversion.pm
in lib/App/Test/Generator/Mutation/NumericBoundary.pm
in lib/App/Test/Generator/Planner.pm
in lib/App/Test/Generator/Planner/Fixture.pm
in lib/App/Test/Generator/Planner/Grouping.pm
in lib/App/Test/Generator/Planner/Isolation.pm
in lib/App/Test/Generator/Planner/Mock.pm
in lib/App/Test/Generator/TestStrategy.pm