CycloneDX / CycloneDX/cyclonedx-php-composer

refactor the plugin to make integration-tests possible

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
QA
Dominant language
PHP
Stars
87
Forks
7
PR merge metrics
No merged PRs in 30d

Description

currently the code of `CycloneDX\Composer\Plugin` is not integration-testable in a good way,
and needs some love.

since the whole code is marked as `@internal` a refactoring can be done without causing breaking changes.

Contributor guide

Open the contributing guide

Research direction

Start by reading the `CycloneDX\Composer\Plugin` class and inspect how its current structure prevents integration testing. Identify the refactoring scope and define integration tests that exercise the plugin; done means those tests can run against the refactored design without breaking the existing internal API.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.