Testing

    Static tests consist of unit, formatting, and doc link tests.

    Cluster tests consist of several test types:

    • Integration: test components of the operator-sdk binary and features of scaffolded projects that are bound to external projects, such as .

    You will also need to set up an environment for cluster tests. Follow this doc for setup instructions.

    Two options for testing with a local cluster are and kind. Ensure KUBECONFIG is set correctly for the chosen cluster type.

    Running Tests

    All the tests are run through the Makefile. Run for a full list of available tests.