Skip to content

Replace External Catalogs with Test-Only Mock Catalog for E2E #1992

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

Open
Tracked by #1990
camilamacedo86 opened this issue May 27, 2025 · 0 comments
Open
Tracked by #1990

Replace External Catalogs with Test-Only Mock Catalog for E2E #1992

camilamacedo86 opened this issue May 27, 2025 · 0 comments

Comments

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented May 27, 2025

Some E2E tests might still rely on external catalogs like Community, which we don't control.

We should create a mock Operator and Catalog for testing and update the tests to use it. This makes tests fully self-contained.

Ref: https://github.com/operator-framework/operator-controller/tree/main/testdata

@camilamacedo86 camilamacedo86 changed the title Mock an Operator/Catalog in tests Create a test-only catalog to replace the usage of default ones, like Community, which we have no control over. Replace External Catalogs with Test-Only Mock Catalog for E2E May 27, 2025
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

No branches or pull requests

1 participant