tektoncd/cli

Improve golden file generation functionality

开放

#1,165 创建于 2020年9月14日

 (5 条评论) (0 个反应) (0 位负责人)Go (269 个派生)auto 404
area/testinggood first issuekind/cleanup

仓库指标

星标
 (461 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Right now when we hit make generated it generates golden files for test scenarios and also updates the already existent files for test scenarios. But if there is some name change in the test name, it generates a new golden file, and the old one becomes redundant and remains there forever.

This function should be improved to remove all golden files and generate new ones so that we don't end with redundant golden files.

贡献者指南