Skip to content

validate tests: Use golden yaml reports #422

Description

@nirs

validate/application and validate/clsuters tests use huge ApplicationStatus and ClustersStatus expected structs. Convert them to golden yaml files to make it easier to maintain the tests.

Example structs:

The yaml output will be less less than half the size and easier to edit.

The values come from resources in pkg/testdata/. When we update the resources we need to update the golden files.

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions