-
Notifications
You must be signed in to change notification settings - Fork 122
MCPRegistry e2e tests #2017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
MCPRegistry e2e tests #2017
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2017 +/- ##
==========================================
- Coverage 48.31% 48.28% -0.03%
==========================================
Files 238 238
Lines 29952 30025 +73
==========================================
+ Hits 14472 14499 +27
- Misses 14380 14418 +38
- Partials 1100 1108 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I've added more tests covering most of the sync, data sources and filtering options and workflows. |
- Create Ginkgo-based test suite for operator testing - Add comprehensive test helpers for MCPRegistry operations - Include test fixtures with sample YAML manifests - Set up Kubernetes test environment with envtest support - Add namespace isolation and cleanup utilities 🤖 Generated with [Claude Code](https://claude.ai/code) Signed-off-by: Daniele Martinoli <[email protected]> Co-authored-by: Claude <[email protected]>
- Create test suite with proper Kubernetes environment setup - Add specialized helper utilities for MCPRegistry operations - Implement ConfigMap test helpers for registry data validation - Add status validation helpers for phase and condition checking - Create timing utilities with proper timeout configurations - Add test data factories for generating test resources - Include builder patterns for fluent resource construction - Support both ToolHive and upstream MCP registry formats - Add comprehensive test fixtures and scenarios 🤖 Generated with [Claude Code](https://claude.ai/code) Signed-off-by: Daniele Martinoli <[email protected]> Co-authored-by: Claude <[email protected]>
- Fix finalizer removal using Patch instead of Update to avoid resource conflicts - Update registry data structure to match expected schema (add required fields: tier, status, tools, image) - Add proper registry deletion waiting in cleanup to prevent namespace deletion issues - Fix lint errors by removing dot imports from non-test files - Add comprehensive MCPRegistry lifecycle test coverage - Improve error handling and logging in test helpers Signed-off-by: Daniele Martinoli <[email protected]> Co-authored-by: Claude <[email protected]> 🤖 Generated with [Claude Code](https://claude.ai/code)
… errors) Signed-off-by: Daniele Martinoli <[email protected]>
… correct initial status" Signed-off-by: Daniele Martinoli <[email protected]>
- Introduced environment variable handling for KUBEBUILDER_ASSETS - Added warning for missing kubebuilder assets to improve test reliability - Updated test environment configuration to include BinaryAssetsDirectory This change aims to streamline the e2e testing process and provide clearer feedback on asset availability. Signed-off-by: Daniele Martinoli <[email protected]>
- initial draft of e2e tests Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Daniele Martinoli <[email protected]>
47860dd
to
ec329d9
Compare
First bunch of tests to address #1749
It also depends on #2016 which should be committed first
test/e2e/operator/registry_lifecycle_test.go
initial test to prove the capabilities ofginkgo
as the testing framework for orchestrated workflowsQuestions to be answered:
operator-e2e-test
task?