Skip to content

test: add coverage for AccessorBase and LetsEncrypt#81

Draft
toddr-bot wants to merge 1 commit into
mainfrom
koan.toddr.bot/test-accessorbase-letsencrypt
Draft

test: add coverage for AccessorBase and LetsEncrypt#81
toddr-bot wants to merge 1 commit into
mainfrom
koan.toddr.bot/test-accessorbase-letsencrypt

Conversation

@toddr-bot

@toddr-bot toddr-bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Add dedicated test files for two untested user-facing modules, and regenerate README.md.

Why

After merging 49 PRs, AccessorBase.pm (the AUTOLOAD-based accessor engine used by Order, Authorization, and Challenge) and LetsEncrypt.pm (the concrete subclass users instantiate) had zero direct test coverage. Both are on the critical path for users.

How

  • t/Net-ACME2-AccessorBase.t (12 tests): constructor key prefixing, AUTOLOAD dispatch for valid accessors, undef handling, unknown method error, DESTROY silence.
  • t/Net-ACME2-LetsEncrypt.t (6 tests): HOST() routing for production/staging/invalid, DIRECTORY_PATH constant, subclass relationship.
  • README.md regenerated to pick up the LICENSE section added in the kwalitee-fixes PR.
  • MANIFEST updated with new test files.

Testing

Full suite: 397 tests across 25 files, all pass.


Quality Report

Changes: 4 files changed, 138 insertions(+)

Code scan: clean

Tests: passed (OK)

Branch hygiene: clean

Generated by Kōan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant