Headlamp: Testing Headlamp plugins
Here is vscode and the test runner showing all tests pass.
As an extensible Kubernetes UI, developers can use plugins to add features, change functionality and even create a fully custom Kubernetes experience. To learn more about what plugins can do, please see the documentation.
As plugins are designed to be independently developed, they are their own code that lives outside of the Headlamp codebase. Independent code needs independent tests. So, how do you test your plugins? How do you test them on CI (with github actions)? Read on to learn how.
Two Types of Testing
This post will cover two types of testing that Headlamp plugin authors can do.