tektoncd/cli

Improve golden file generation functionality

Ouverte

#1 165 ouverte le 14 sept. 2020

 (5 commentaires) (0 réaction) (0 personne assignée)Go (269 forks)auto 404
area/testinggood first issuekind/cleanup

Métriques du dépôt

Stars
 (461 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur