Skip to content

#49 - Extension tests: check that every task is tested, with a unique prefixed code and its deprecated alias - #50

Merged
njoubert-cleverage merged 1 commit into
mainfrom
49
Oct 21, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
49

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #49.

CleverAgeArchiveProcessExtensionTest::testEveryTaskIsTested, as in doctrine-process-bundle:

  • every service registered under the CleverAge\ArchiveProcessBundle\Task\ namespace is in provideTasks() (a new task forgotten in the provider fails the test);
  • every task has its own code, prefixed by archive_;
  • every former id cleverage_archive_process.task.* is a deprecated alias listed in provideTasks().

Tests only: no CHANGELOG entry.

Checked in the container (PHP 8.5, highest dependencies): 40 tests, 3 skipped (2 permission tests skipped as root, the kernel test referencing the tasks by code waits for process-bundle 5.4), no risky test (pcov coverage). PHPStan, PHP-CS-Fixer and Rector OK.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None: tests only.

🤖 Generated with Claude Code

… prefixed code and its deprecated alias

testEveryTaskIsTested, as in doctrine: every task service is in provideTasks(),
codes unique and prefixed by archive_, every former id is a deprecated alias.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@njoubert-cleverage
njoubert-cleverage merged commit 4f3e020 into main Oct 21, 2026
18 checks passed
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.

Extension tests: check that every task is tested, with a unique prefixed code and its deprecated alias

1 participant