Skip to content

Add support for testing YAML output in the CLI #5184

@remyleone

Description

@remyleone

Command attempted

At the moment the YAML output of the CLI is not checked. It would be helpful to add to the golden testing mechanism a way to check that the YAML output is also valid.

Expected Behavior

Actual Behavior

More info

  • core.marshalGolden should have support to marshall the YAML output
  • We should use github.com/ghodss/yaml wherever possible
  • Be careful as we have tests that must be run on Linux, Windows and macOS

Metadata

Metadata

Assignees

Labels

bugpriority:mediumImprovements that are not the main priority

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions