kubernetes/test/utils/ktesting
Patrick Ohly 84190acdaa ktesting: move format package
The format package is used by ktesting, both to reconfigure Gomega and to
format errors, therefore it has to be moved to staging together with ktesting,
if or when we get to that because those are desirable features.

Because format only has the YAML package as additional dependency and that
should be okay for all other repos (except for the YAML package itself, of
course), we can publish the format package as a sub-package of such a future
ktesting module.

Avoiding the dependency on apimachinery to detect unstructured.Unstructured is
a bit tricky, but doable by relaxing what we check for. The test/utils/format
package is kept to test ktesting/format with the actual packages that it cannot
depend on (apimachinery, api).
2026-04-24 21:54:19 +02:00
..
examples Update example test to use tCtx Eventually 2026-02-27 10:03:29 +05:30
format ktesting: move format package 2026-04-24 21:54:19 +02:00
initoption ktesting: support capturing log output 2024-06-26 08:11:31 +02:00
internal ktesting: support Init inside synctest bubble 2026-04-02 14:25:05 +02:00
.import-restrictions ktesting: move format package 2026-04-24 21:54:19 +02:00
assert.go ktesting: address linter hints 2026-04-24 21:54:19 +02:00
assert_test.go Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
contexthelper.go ktesting: fix potential log panic 2026-02-26 08:44:18 +01:00
contexthelper_test.go ktesting: remove usage of testify 2026-04-24 21:54:19 +02:00
doc.go ktesting: create client-go/ktesting 2026-04-24 21:54:19 +02:00
errorcontext.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
errorcontext_test.go ktesting: remove usage of testify 2026-04-24 21:54:19 +02:00
helper_test.go ktesting: remove usage of testify 2026-04-24 21:54:19 +02:00
klogcontext.go ktesting: reimplement without interface 2026-01-05 13:45:03 +01:00
ktesting.go ktesting: move format package 2026-04-24 21:54:19 +02:00
ktesting_test.go ktesting: rewrite log configuration 2026-04-24 21:54:19 +02:00
main_test.go ktesting: fix setting up progress reporting 2026-01-27 10:13:43 +01:00
signals.go ktesting: support Init inside synctest bubble 2026-04-02 14:25:05 +02:00
signals_non_win.go build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
signals_win.go build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
stepcontext.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
stepcontext_test.go Merge pull request #136341 from Karthik-K-N/remove-deprecated-methods 2026-02-02 19:28:31 +05:30
tcontext.go ktesting: move format package 2026-04-24 21:54:19 +02:00
tcontext_test.go ktesting: remove usage of testify 2026-04-24 21:54:19 +02:00
withcontext.go ktesting: support cancellation after WithoutCancel 2026-03-17 07:50:18 +01:00