Skip to content

Add comprehensive unit tests for 60%+ coverage target - #41

Open
mathianasj wants to merge 1 commit into
masterfrom
claude/issue-4-20260904-0115
Open

Add comprehensive unit tests for 60%+ coverage target#41
mathianasj wants to merge 1 commit into
masterfrom
claude/issue-4-20260904-0115

Conversation

@mathianasj

Copy link
Copy Markdown
Owner

Adds ~150 new test cases across all 5 controller files. Closes #4

Add ~150 new test cases covering helpers, airgapped mode, RHTAS health
checks, collection pipeline, mirror import, and disconnected platform
controllers. Tests use fake.NewClientBuilder() for K8s client mocking
and cover behavioral contracts (inputs → outputs, resources created).

Targets issue #4 goal of 60%+ test coverage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Add comprehensive test coverage before refactoring

1 participant