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!
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:
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!