Skip to content

Ensure the catalog controller's Reconcile() function is being properly unit tested #1583

@everettraven

Description

@everettraven

operator-framework/catalogd#196 Updated the catalog controller's unit tests which resulted in the removal of using envtest for unit testing purposes. It was called out as part of that PR that we should look into refactoring the Reconcile() function in such a way that makes it easier to test only the logic that runs inside of the Reconcile() function:

A future tech debt item could be to investigate refactoring the Reconcile() function to make it easier to test the logic without using envtest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions