tektoncd/cli

Improve golden file generation functionality

Offen

#1.165 geöffnet am 14.09.2020

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (269 Forks)auto 404
area/testinggood first issuekind/cleanup

Repository-Metriken

Stars
 (461 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide