Skip to content
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

✨ WIP: Add Kubernetes Gomega extension with to make testing controllers easier #1364

Closed
wants to merge 2 commits into from

Commits on Jan 29, 2021

  1. Add Komega matcher and interfaces

    This adds a utility that is intended to be used with envtest to make it 
    easier for users to write tests.
    
    The Matcher wraps common operations that you might do with gomega when 
    interacting with Kubernetes to allow simpler test assertions.
    JoelSpeed committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    4f20d07 View commit details
    Browse the repository at this point in the history
  2. Add WithField transformer

    This should allow people to access fields within their objects fetched 
    by the Matcher. This allows easier assertions by allowing specific 
    fields to be compared during tests.
    JoelSpeed committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    38101e5 View commit details
    Browse the repository at this point in the history