1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/cmd/cli/kubectl-kyverno/commands/test
Tomas Aschan 8746a8ffbb
feat: Show textual diff when generate test fails (#11674)
* feat: Show textual diff when generate test fails

Signed-off-by: Tomas Aschan <tomasl@spotify.com>

* Tweak verbosity level for diff output

Signed-off-by: Tomas Aschan <tomasl@spotify.com>

* Display a rich diff of the expected and actual resources with --detailed-results

Signed-off-by: Tomas Aschan <tomasl@spotify.com>

---------

Signed-off-by: Tomas Aschan <tomasl@spotify.com>
2024-12-04 06:09:19 +00:00
..
command.go feat: Show textual diff when generate test fails (#11674) 2024-12-04 06:09:19 +00:00
command_test.go refactor: cli commands tests and error handling (#8367) 2023-09-13 09:53:19 +00:00
compare.go feat: Show textual diff when generate test fails (#11674) 2024-12-04 06:09:19 +00:00
doc.go refactor: add a cobra utils package to build commands doc (#8255) 2023-09-04 19:56:23 +00:00
load.go Fix cli load policies from fs (#10270) 2024-05-21 15:17:49 +08:00
output.go fix: return all the exceptions that match the incoming resource (#10722) 2024-07-25 17:36:19 +00:00
test.go refactor: introduce autogen interface (#11418) 2024-10-16 15:24:37 +02:00