Skip to content

Document updating test data #307

@chrislovecnm

Description

@chrislovecnm

If you set this to true

var update = flag.Bool("update", false, "update the golden files of this test")

The run bazel test //pkg/... it will update all of the test data for you.

We have other places where this is utilized as well. It is recommended to not update the test data by hand, but review the changes.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions