Skip to content

Wiki: Add Sawchain to custom matchers list #902

@eolatham

Description

@eolatham

I'd like to add Sawchain to the list of custom matcher libraries in the Wiki.

Sawchain is a Go library for K8s YAML-driven testing—powered by Chainsaw.

Sawchain currently offers the following matchers:

  • MatchYAML - Checks if a K8s client.Object matches YAML expectations defined in a template, including full support for Chainsaw JMESPath expressions, as well as multi-document matching with "match any document" semantics.
  • HaveStatusCondition - Uses Chainsaw matching to check if a client.Object has a specific status condition.

These matchers are extremely handy for a wide range of K8s testing scenarios, so it would be great to make more people aware of them!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions