Skip to content

Commit

Permalink
Merge pull request #44533 from Arhell/zh-link
Browse files Browse the repository at this point in the history
[zh] Fix the broken link in blog post
  • Loading branch information
k8s-ci-robot committed Dec 27, 2023
2 parents 1727033 + eff10b1 commit e5273e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/zh-cn/blog/2023-11-24-sig-testing-spotlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ started using it. For E2E testing, that was
[Ginkgo+Gomega](https://github.com/onsi/ginkgo). Some hacks were
necessary, for example around cleanup after a test run and for
categorising tests. Eventually this led to Ginkgo v2 and [revised best
practices for E2E testing](/blog/2023/04/12/e2e-testing-best-practices-reloaded/).
practices for E2E testing](https://www.kubernetes.dev/blog/2023/04/12/e2e-testing-best-practices-reloaded/).
Regarding unit testing opinions are pretty diverse: some maintainers
prefer to use just the Go standard library with hand-written
checks. Others use helper packages like stretchr/testify. That
Expand All @@ -114,7 +114,7 @@ and other components, then runs tests that are more like E2E tests.
当时开发人员只是看看有什么可用的工具并开始使用这些工具。对于 E2E 测试来说,使用的是
[Ginkgo + Gomega](https://github.com/onsi/ginkgo)。集成一些黑科技是必要的,
例如在测试运行后进行清理和对测试进行分类。最终形成了 Ginkgo v2
[重新修订的 E2E 测试最佳实践](/blog/2023/04/12/e2e-testing-best-practices-reloaded/)
[重新修订的 E2E 测试最佳实践](https://www.kubernetes.dev/blog/2023/04/12/e2e-testing-best-practices-reloaded/)
关于单元测试,意见非常多样化:一些维护者倾向于只使用 Go 标准库和手动检查。
而其他人使用 stretchr/testify 这类辅助工具包。这种多样性是可以接受的,因为单元测试是自包含的:
贡献者只需在处理许多不同领域时保持灵活。集成测试介于二者之间,它基于 Go 单元测试,
Expand Down

0 comments on commit e5273e5

Please sign in to comment.