apache / apache/camel-k

Internal client test refactoring

Open
#6,612 1 comment 1 reaction 0 assignees View on GitHub
kind/task status/never-stale
Dominant language
Go
Stars
927
Forks
387
Avg merge
15h 5m
Merged PRs (30d)
36

Description

### Requirement

We can do the same as done for camel monitor operator (https://github.com/camel-tooling/camel-monitor-operator/blob/main/pkg/internal/fake.go) and remove completely the need to specify "typeMeta" for all object declaration.

The change in the client will probably require adjusting other tests

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the internal client test helpers with camel-monitor-operator/pkg/internal/fake.go, then locate the client object declarations that require typeMeta. Update the client and any affected tests so those declarations no longer need typeMeta, and run the relevant client test suite to confirm all adjusted tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.