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.

貢獻者指南