tektoncd/cli

Improve golden file generation functionality

Aberta

#1.165 aberto em 14 de set. de 2020

 (5 comentários) (0 reação) (0 responsável)Go (269 forks)auto 404
area/testinggood first issuekind/cleanup

Métricas do repositório

Stars
 (461 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador