Skip to content

chore(tests) #13 Add missing tests - #23

Merged
njoubert-cleverage merged 1 commit into
mainfrom
13
Sep 30, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
13

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #13.

Completes the tests added with #15 to #18 (which covered the fixed behaviours):

  • ZipTaskTest: files as a single string, input overriding the configured options, existing archive overwritten, missing / unreadable file, directory given as a file, archive that cannot be opened, options validated on execution (not at initialization), undefined option in the input, invalid option type
  • UnzipTaskTest: input overriding the configured options, existing files overwritten and other files kept, missing / unreadable archive, options validated on execution, undefined option in the input, invalid option type
  • CleverAgeArchiveProcessExtensionTest (new): both tasks registered as non-shared services, with a public alias on their class (used as @<class> in process configurations)
  • CleverAgeArchiveProcessBundleTest (new): getPath() is the bundle root

The unreadable file tests are skipped when running as root.

Coverage: 79/80 lines. The only uncovered line is the ZipArchive::addFile() failure in ZipTask, not reachable once the file is checked to exist and be readable (addFile() only fails on close).

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None (tests only).

🤖 Generated with Claude Code

… bundle and DI extension

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@njoubert-cleverage njoubert-cleverage added the enhancement New feature or request label Sep 30, 2026
@njoubert-cleverage njoubert-cleverage self-assigned this Sep 30, 2026
@njoubert-cleverage
njoubert-cleverage merged commit 804e632 into main Sep 30, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing tests

1 participant